Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordwagelaar2017-05-18 20:10:04 +0000
committerdwagelaar2017-05-18 20:10:04 +0000
commitd249a9cdb1b8ed7cbb5513d10dd12f01e4512214 (patch)
treecfe84dcd2febf1b00d0f83c54ecab17e7db30751
parentc8f39fd70b0f8d5f50fdc789cd0148da88e21483 (diff)
downloadorg.eclipse.atl-d249a9cdb1b8ed7cbb5513d10dd12f01e4512214.tar.gz
org.eclipse.atl-d249a9cdb1b8ed7cbb5513d10dd12f01e4512214.tar.xz
org.eclipse.atl-d249a9cdb1b8ed7cbb5513d10dd12f01e4512214.zip
Java 5 compatibility.R3_8_0R3_8_maintenance
-rw-r--r--plugins/org.eclipse.m2m.atl.emftvm/src/org/eclipse/m2m/atl/emftvm/util/EMFTVMUtil.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/org.eclipse.m2m.atl.emftvm/src/org/eclipse/m2m/atl/emftvm/util/EMFTVMUtil.java b/plugins/org.eclipse.m2m.atl.emftvm/src/org/eclipse/m2m/atl/emftvm/util/EMFTVMUtil.java
index 67f09e76..bcdbaa37 100644
--- a/plugins/org.eclipse.m2m.atl.emftvm/src/org/eclipse/m2m/atl/emftvm/util/EMFTVMUtil.java
+++ b/plugins/org.eclipse.m2m.atl.emftvm/src/org/eclipse/m2m/atl/emftvm/util/EMFTVMUtil.java
@@ -2524,7 +2524,7 @@ public final class EMFTVMUtil {
final int methodModifiers = getRelevantModifiers(method);
Class<?> dc = method.getDeclaringClass();
java.util.Set<Class<?>> dis = new LinkedHashSet<Class<?>>(
- Arrays.asList(dc.getInterfaces()));
+ Arrays.<Class<?>> asList(dc.getInterfaces()));
while ((dc = dc.getSuperclass()) != null) {
try {
Method superMethod = dc.getDeclaredMethod(method.getName(), method.getParameterTypes());
@@ -2536,7 +2536,7 @@ public final class EMFTVMUtil {
} catch (SecurityException e) {
} catch (NoSuchMethodException e) {
}
- dis.addAll(Arrays.asList(dc.getInterfaces()));
+ dis.addAll(Arrays.<Class<?>> asList(dc.getInterfaces()));
}
while (!dis.isEmpty()) {
java.util.Set<Class<?>> newDis = new LinkedHashSet<Class<?>>();
@@ -2549,7 +2549,7 @@ public final class EMFTVMUtil {
} catch (SecurityException e) {
} catch (NoSuchMethodException e) {
}
- newDis.addAll(Arrays.asList(di.getInterfaces()));
+ newDis.addAll(Arrays.<Class<?>> asList(di.getInterfaces()));
}
newDis.removeAll(dis);
dis = newDis;

Back to the top