Skip to content

Commit

Permalink
Merge pull request #16 from rodikal/master
Browse files Browse the repository at this point in the history
JENKINS-15482 JENKINS-14660 fix iteration logic in while loop
  • Loading branch information
jenkins-pipeline-code committed Oct 11, 2012
2 parents 0b6562d + da8a4a9 commit 491dbea
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 491dbea

Please sign in to comment.