Commit 35b6524b authored by Alexander Diewald's avatar Alexander Diewald
Browse files

EMFTypeMap: Fix compare operation



Issue-Ref: 3846
Signed-off-by: Alexander Diewald's avatarAlexander Diewald <diewald@fortiss.org>
parent 3c5208a6
EMFTypeMap.java 99a70a6c5db0cb283a1e0614f4f455422047e14d YELLOW EMFTypeMap.java ad1c6ecba7fbb2dff0d72ea12cd5040abe52364f YELLOW
EMFTypeToTypeMap.java 792b6f10042562983b192cfe2a2547221391e701 YELLOW EMFTypeToTypeMap.java 792b6f10042562983b192cfe2a2547221391e701 YELLOW
EMFTypeToTypeSetMap.java e7572738d19c81fd507bc8ca88a3408058d88bf0 YELLOW EMFTypeToTypeSetMap.java e7572738d19c81fd507bc8ca88a3408058d88bf0 YELLOW
TypeSet.java e18e66236b223eaf4c22037459779b421a0c2703 GREEN TypeSet.java e18e66236b223eaf4c22037459779b421a0c2703 GREEN
...@@ -37,7 +37,7 @@ public class EMFTypeMap<S extends EObject, T> extends TreeMap<Class<? extends S> ...@@ -37,7 +37,7 @@ public class EMFTypeMap<S extends EObject, T> extends TreeMap<Class<? extends S>
@Override @Override
public int compare(Class<? extends S> c1, Class<? extends S> c2) { public int compare(Class<? extends S> c1, Class<? extends S> c2) {
Class<? extends S> i1 = getInterfaceType(c1); Class<? extends S> i1 = getInterfaceType(c1);
Class<? extends S> i2 = getInterfaceType(c1); Class<? extends S> i2 = getInterfaceType(c2);
if(i1 == i2) { if(i1 == i2) {
return 0; return 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment