提交 4b6249cc 编写于 作者: K kohsuke

fixed a JDK6 dependency, thanks to animal-sniffer.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14684 71c3de6d-444a-0410-be80-ed276b4c234a
上级 b275c398
......@@ -86,7 +86,7 @@ public final class SuiteResult implements Serializable {
name = '('+xmlReport.getName()+')';
else {
String pkg = suite.attributeValue("package");
if(pkg!=null&&!pkg.isEmpty()) name=pkg+'.'+name;
if(pkg!=null&& pkg.length()>0) name=pkg+'.'+name;
}
this.name = TestObject.safe(name);
this.timestamp = suite.attributeValue("timestamp");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册