Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.osee.framework.core.server/src/org/eclipse/osee/framework/core/server/internal/OseeServerThreadFactory.java')
-rw-r--r--plugins/org.eclipse.osee.framework.core.server/src/org/eclipse/osee/framework/core/server/internal/OseeServerThreadFactory.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.osee.framework.core.server/src/org/eclipse/osee/framework/core/server/internal/OseeServerThreadFactory.java b/plugins/org.eclipse.osee.framework.core.server/src/org/eclipse/osee/framework/core/server/internal/OseeServerThreadFactory.java
index 6360db730af..b103bc5fca2 100644
--- a/plugins/org.eclipse.osee.framework.core.server/src/org/eclipse/osee/framework/core/server/internal/OseeServerThreadFactory.java
+++ b/plugins/org.eclipse.osee.framework.core.server/src/org/eclipse/osee/framework/core/server/internal/OseeServerThreadFactory.java
@@ -27,7 +27,7 @@ class OseeServerThreadFactory implements ThreadFactory {
public OseeServerThreadFactory(String threadName, int priority) {
this.threadName = threadName;
- this.threads = new CopyOnWriteArrayList<WeakReference<OseeServerThread>>();
+ this.threads = new CopyOnWriteArrayList<>();
this.priority = priority;
}
@@ -44,7 +44,7 @@ class OseeServerThreadFactory implements ThreadFactory {
}
List<OseeServerThread> getThreads() {
- List<OseeServerThread> toReturn = new ArrayList<OseeServerThread>();
+ List<OseeServerThread> toReturn = new ArrayList<>();
for (WeakReference<OseeServerThread> weak : threads) {
OseeServerThread thread = weak.get();
if (thread != null) {

Back to the top