mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 21:42:27 +00:00
removed pointless list construction
This commit is contained in:
1 parent
0e7941c060
commit
bb4301a01e
1 file changed
+2
-5
@@ -111,11 +111,8 @@ public class ListView extends View implements Saveable {
|
||||
}
|
||||
|
||||
protected void initJobFilters() {
|
||||
if (jobFilters != null) {
|
||||
return;
|
||||
}
|
||||
ArrayList<ViewJobFilter> r = new ArrayList<ViewJobFilter>();
|
||||
jobFilters = new DescribableList<ViewJobFilter, Descriptor<ViewJobFilter>>(this,r);
|
||||
if (jobFilters == null)
|
||||
jobFilters = new DescribableList<ViewJobFilter, Descriptor<ViewJobFilter>>(this);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user