[FIXED HUDSON-3152]

In 1.288. Builds blocked by the shut-down process now reports its status accordingly.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15916 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2009-03-01 03:28:33 +00:00
1 parent 712ebaecf6
commit e0971a5305
4 files changed
+34 -18

No files matched your search

+9
View File
@@ -1074,6 +1074,15 @@ public class Functions {
}
}
/**
* Prepend a prefix only when there's the specified body.
*/
public String prepend(String prefix, String body) {
if(body!=null && body.length()>0)
return prefix+body;
return body;
}
private static final Pattern SCHEME = Pattern.compile("[a-z]+://.+");
/**