mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-03 15:15:54 +00:00
oops, need \\ in java regexp (fix r25539)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25551 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
ce979c4a9d
commit
ed2c75eb76
1 file changed
+1
-1
@@ -560,7 +560,7 @@ public class UpdateSite {
|
||||
public boolean isForNewerHudson() {
|
||||
try {
|
||||
return requiredCore!=null && new VersionNumber(requiredCore).isNewerThan(
|
||||
new VersionNumber(Hudson.VERSION.replaceFirst("SHOT *\(private.*\)", "SHOT")));
|
||||
new VersionNumber(Hudson.VERSION.replaceFirst("SHOT *\\(private.*\\)", "SHOT")));
|
||||
} catch (NumberFormatException nfe) {
|
||||
return true; // If unable to parse version
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user