Skip to content
Permalink
Browse files
[JENKINS-26392] Fix ClassCastException w/ Folders
Not yet ideal/intuitive, since now you can select a folder but it won't
select its children.
But at least it's not crashing totally when using it, I guess that's
still an improvement...
  • Loading branch information
batmat committed Feb 13, 2016
1 parent f45d2fe commit 9b958f2d1d8d1ebefa7a81e329591a10af6b95ac
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/hudson/model/RadiatorView.java
@@ -143,7 +143,7 @@ public ProjectViewEntry getContents() {
}

for (TopLevelItem item : super.getItems()) {
if(!isDisabled(item)) {
if(item instanceof Job && !isDisabled(item)) {
IViewEntry entry = new JobViewEntry(this, (Job<?, ?>) item);
contents.addBuild(entry);
}

0 comments on commit 9b958f2

Please sign in to comment.