Skip to content

Commit

Permalink
JENKINS-14660 & JENKINS-15482 fix iteration logic in while loop
Browse files Browse the repository at this point in the history
  • Loading branch information
rodikal committed Oct 11, 2012
1 parent ec9adea commit 737ad3e
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -31,6 +31,7 @@ public List<Action> createFor(final View view) {
ViewGroup owner = view.getOwner();
while (owner instanceof hudson.plugins.nested_view.NestedView) {
viewNames.add(((hudson.plugins.nested_view.NestedView) owner).getViewName());
owner = ((hudson.plugins.nested_view.NestedView) owner).getOwner();
}
Collections.reverse(viewNames);
viewName = StringUtils.join(viewNames, "/view/");
Expand Down

0 comments on commit 737ad3e

Please sign in to comment.