提交 5e8cd50d 编写于 作者: D Daniel Beck 提交者: Oliver Gondža

[JENKINS-50748] Handle null arg to jsStringEscape

(cherry picked from commit 7c23884c)
上级 f11b585a
......@@ -1379,6 +1379,7 @@ public class Functions {
}
public static String jsStringEscape(String s) {
if (s == null) return null;
StringBuilder buf = new StringBuilder();
for( int i=0; i<s.length(); i++ ) {
char ch = s.charAt(i);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册