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

This reverts commit 037393c28a.
This commit is contained in:
Jesse Glick committed 2014-02-11 19:12:52 -05:00
1 parent d577c0850d
commit d61965bebc
1 file changed
+1 -1
+1 -1
View File
@@ -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 {