exposed escape()

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@2331 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2007-03-04 05:53:34 +00:00
1 parent c7c80705e9
commit 6f4040c15f
1 file changed
+4
+4
View File
@@ -321,4 +321,8 @@ public class Functions {
if(s==null) return false;
return s.indexOf('\r')>=0 || s.indexOf('\n')>=0;
}
public static String encode(String s) {
return Util.encode(s);
}
}