Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.osee.ote.core/src/org/eclipse/osee/ote/core/OseeTestThread.java')
-rw-r--r--plugins/org.eclipse.osee.ote.core/src/org/eclipse/osee/ote/core/OseeTestThread.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.osee.ote.core/src/org/eclipse/osee/ote/core/OseeTestThread.java b/plugins/org.eclipse.osee.ote.core/src/org/eclipse/osee/ote/core/OseeTestThread.java
index 02d229d237b..e444d94cb47 100644
--- a/plugins/org.eclipse.osee.ote.core/src/org/eclipse/osee/ote/core/OseeTestThread.java
+++ b/plugins/org.eclipse.osee.ote.core/src/org/eclipse/osee/ote/core/OseeTestThread.java
@@ -30,7 +30,7 @@ public abstract class OseeTestThread {
private static final Logger logger = Logger.getLogger("osee.test.core.OseeTestThread");
private final Thread thread;
private final WeakReference<TestEnvironment> env;
- private static final HashSet<OseeTestThread> threadList = new HashSet<OseeTestThread>(32);
+ private static final HashSet<OseeTestThread> threadList = new HashSet<>(32);
private volatile Throwable causeOfDeath = null;
private volatile Date timeOfDeath = null;
@@ -57,7 +57,7 @@ public abstract class OseeTestThread {
*/
public OseeTestThread(String name, boolean isDaemon, ThreadGroup group, TestEnvironment env) {
GCHelper.getGCHelper().addRefWatch(this);
- this.env = new WeakReference<TestEnvironment>(env);
+ this.env = new WeakReference<>(env);
thread = new Thread(group, name) {
@Override

Back to the top