提交 d61965be 编写于 作者: J Jesse Glick

Revert "groovy null-safe operation, I miss you."

This reverts commit 037393c2.
上级 d577c085
......@@ -1011,7 +1011,7 @@ public class Functions {
if(ig== Jenkins.getInstance() || (view != null && ig == view.getOwnerItemGroup())) {
assert i instanceof TopLevelItem;
if (view != null && view.contains((TopLevelItem)i)) {
if (view.contains((TopLevelItem)i)) {
// if p and the current page belongs to the same view, then return a relative path
return normalizeURI(ancestors.get(view)+'/'+url);
} else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册