提交 38eec416 编写于 作者: K Kohsuke Kawaguchi

Simplification without changing the semantics

上级 ff7f272a
...@@ -102,15 +102,10 @@ public final class PackageResult extends MetaTabulatedResult implements Comparab ...@@ -102,15 +102,10 @@ public final class PackageResult extends MetaTabulatedResult implements Comparab
} }
ClassResult child = getClassResult(className); ClassResult child = getClassResult(className);
if (child != null) { if (child != null && subId != null)
if (subId != null) {
return child.findCorrespondingResult(subId); return child.findCorrespondingResult(subId);
} else {
return child;
}
}
return null; return child;
} }
@Override @Override
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册