diff options
author | Brian Vosburgh | 2016-02-04 16:24:51 +0000 |
---|---|---|
committer | Brian Vosburgh | 2017-05-18 22:36:04 +0000 |
commit | 0cda946b3d142c0cfd92035f54e8aa2115d787e4 (patch) | |
tree | 7e7d90ac0f84c2bd1824311391583d23e8a5fed8 /common | |
parent | 594e87575cc650caf305e5208dde2d6d39291251 (diff) | |
download | webtools.dali-0cda946b3d142c0cfd92035f54e8aa2115d787e4.tar.gz webtools.dali-0cda946b3d142c0cfd92035f54e8aa2115d787e4.tar.xz webtools.dali-0cda946b3d142c0cfd92035f54e8aa2115d787e4.zip |
fix compiler warnings in ThreadLocalInterruptibleClosure
Diffstat (limited to 'common')
-rw-r--r-- | common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/closure/ThreadLocalInterruptibleClosure.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/closure/ThreadLocalInterruptibleClosure.java b/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/closure/ThreadLocalInterruptibleClosure.java index dce4099f2b..f9cca6122b 100644 --- a/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/closure/ThreadLocalInterruptibleClosure.java +++ b/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/closure/ThreadLocalInterruptibleClosure.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2008, 2013 Oracle. All rights reserved. + * Copyright (c) 2008, 2016 Oracle. All rights reserved. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0, which accompanies this distribution * and is available at http://www.eclipse.org/legal/epl-v10.html. @@ -30,7 +30,7 @@ public class ThreadLocalInterruptibleClosure<A> } private ThreadLocal<InterruptibleClosure<? super A>> buildThreadLocal() { - return new ThreadLocal<InterruptibleClosure<? super A>>(); + return new ThreadLocal<>(); } public void execute(A argument) throws InterruptedException { |