Skip to content

Commit 0af32af

Browse files
cohenciltimja
andauthored
Support jenkins configuration as code plugin (#229)
* support jenkins configuration as code plugin * Update src/main/java/hudson/scm/SubversionSCM.java Co-authored-by: Tim Jacomb <[email protected]>
1 parent e71ba5c commit 0af32af

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

src/main/java/hudson/scm/SubversionSCM.java

+8-5
Original file line numberDiff line numberDiff line change
@@ -2151,21 +2151,24 @@ public String getDisplayName() {
21512151
return "Subversion";
21522152
}
21532153

2154-
@Restricted(NoExternalUse.class)
2155-
void setGlobalExcludedRevprop(String revprop) {
2156-
globalExcludedRevprop = revprop;
2154+
public void setGlobalExcludedRevprop(String globalExcludedRevprop) {
2155+
this.globalExcludedRevprop = globalExcludedRevprop;
21572156
}
21582157

21592158
public String getGlobalExcludedRevprop() {
2160-
return globalExcludedRevprop;
2159+
return this.globalExcludedRevprop;
21612160
}
21622161

21632162
public int getWorkspaceFormat() {
2164-
if (workspaceFormat==0)
2163+
if (workspaceFormat == 0)
21652164
return SVNAdminAreaFactory.WC_FORMAT_14; // default
21662165
return workspaceFormat;
21672166
}
21682167

2168+
public void setWorkspaceFormat(int workspaceFormat) {
2169+
this.workspaceFormat = workspaceFormat;
2170+
}
2171+
21692172
public boolean isValidateRemoteUpToVar() {
21702173
return validateRemoteUpToVar;
21712174
}

0 commit comments

Comments
 (0)