提交 891fd8e4 编写于 作者: K kohsuke

this property seems to be unused.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@5709 71c3de6d-444a-0410-be80-ed276b4c234a
上级 7a99136a
......@@ -104,7 +104,6 @@ public class SubversionSCM extends SCM implements Serializable {
private ModuleLocation[] locations = new ModuleLocation[0];
private boolean useUpdate;
private String username;
private final SubversionRepositoryBrowser browser;
// No longer in use but left for serialization compatibility.
......@@ -112,7 +111,7 @@ public class SubversionSCM extends SCM implements Serializable {
private String modules;
public SubversionSCM(String[] remoteLocations, String[] localLocations,
boolean useUpdate, String username, SubversionRepositoryBrowser browser) {
boolean useUpdate, SubversionRepositoryBrowser browser) {
List<ModuleLocation> modules = new ArrayList<ModuleLocation>();
if (remoteLocations != null && localLocations != null) {
......@@ -131,7 +130,6 @@ public class SubversionSCM extends SCM implements Serializable {
locations = modules.toArray(new ModuleLocation[modules.size()]);
this.useUpdate = useUpdate;
this.username = nullify(username);
this.browser = browser;
}
......@@ -172,10 +170,6 @@ public class SubversionSCM extends SCM implements Serializable {
return useUpdate;
}
public String getUsername() {
return username;
}
@Override
public SubversionRepositoryBrowser getBrowser() {
return browser;
......@@ -930,8 +924,7 @@ public class SubversionSCM extends SCM implements Serializable {
req.getParameterValues("svn.location_remote"),
req.getParameterValues("svn.location_local"),
req.getParameter("svn_use_update") != null,
req.getParameter("svn_username"),
RepositoryBrowsers.createInstance(SubversionRepositoryBrowser.class, req, "svn.browser"));
RepositoryBrowsers.createInstance(SubversionRepositoryBrowser.class, req, "svn.browser"));
}
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册