diff --git a/core/src/main/java/hudson/model/ListView.java b/core/src/main/java/hudson/model/ListView.java index 02946a4e3c..341a59b0e4 100644 --- a/core/src/main/java/hudson/model/ListView.java +++ b/core/src/main/java/hudson/model/ListView.java @@ -185,7 +185,7 @@ public class ListView extends View implements DirectlyModifiableView { return columns; } - public Set getJobNames() { + public synchronized Set getJobNames() { return Collections.unmodifiableSet(jobNames); } diff --git a/src/spotbugs/spotbugs-excludes.xml b/src/spotbugs/spotbugs-excludes.xml index 1dc6ffb966..37058b39df 100644 --- a/src/spotbugs/spotbugs-excludes.xml +++ b/src/spotbugs/spotbugs-excludes.xml @@ -192,13 +192,6 @@ - - - - - - -