Skip to content
Permalink
Browse files

Merge pull request #65 from jglick/JENKINS-32178-Javadoc

[JENKINS-32178] Noting why you should not override getUrlChildPrefix
  • Loading branch information...
jglick committed Jun 1, 2016
2 parents 9987689 + 40f005e commit 214079bb3b66614c2b4de37b2a2df070ffdad0a0
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/main/java/com/cloudbees/hudson/plugins/folder/AbstractFolder.java
@@ -324,6 +324,11 @@ public File getRootDirFor(I child) {
return getRootDirFor(child.getName()); // TODO see comment regarding loadChildren and encoding
}

/**
* It is unwise to override this, lest links to children from nondefault {@link View}s break.
* TODO remove this warning if and when JENKINS-35243 is fixed in the baseline.
* {@inheritDoc}
*/
@Override
public String getUrlChildPrefix() {
return "job";

0 comments on commit 214079b

Please sign in to comment.
You can’t perform that action at this time.