Added a convenience method.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14567 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2009-01-17 00:33:56 +00:00
1 parent abe1def90e
commit fca5cb37ce
2 files changed
+8 -5

No files matched your search

@@ -159,6 +159,13 @@ public class SubversionSCM extends SCM implements Serializable {
this.browser = browser;
}
/**
* Convenience constructor, especially during testing.
*/
public SubversionSCM(String svnUrl) {
this(new String[]{svnUrl},new String[]{null},true,null);
}
/**
* @deprecated
* as of 1.91. Use {@link #getLocations()} instead.