Commit 95a0ed40 authored by Simon Barner's avatar Simon Barner
Browse files

Update code formatting (no functional change)

* Fixes some minor formatting problems that have probably been
  introduced when merging

Issue-Ref: 3470
Issue-Url: https://af3-developer.fortiss.org/issues/3470

Signed-off-by: Simon Barner's avatarSimon Barner <barner@fortiss.org>
parent 6966477c
EMFTypeMap.java 720a5d3de470d810e26d30faf4d397a28790472d YELLOW
EMFTypeToTypeMap.java 0fe32c06049c36b3b88f00a6be68fc17c63fc84c YELLOW
EMFTypeMap.java b6c39465568f0edbfbd5c90400a4f519c042d423 YELLOW
EMFTypeToTypeMap.java 294abe02e7af4ad751d8760b6c6286a3c1f6d73f YELLOW
EMFTypeToTypeSetMap.java 47ab03966258e7512fa990eb5d420f5787dff3eb YELLOW
TypeSet.java ca3a268e61d31f0421148ef55cbf9b0695ae63d0 YELLOW
TypeSet.java e18e66236b223eaf4c22037459779b421a0c2703 YELLOW
......@@ -40,8 +40,8 @@ public class EMFTypeMap<S, T> extends TreeMap<Class<? extends S>, T> {
private Class<? extends S> getInterfaceType(Class<? extends S> c) {
final String className = c.getSimpleName();
if(className.endsWith(IMPL_CLASS_SUFFIX)) {
final String ifaceName = className.substring(0,
className.length() - IMPL_CLASS_SUFFIX.length());
final String ifaceName =
className.substring(0, className.length() - IMPL_CLASS_SUFFIX.length());
for(Class<?> iFace : c.getInterfaces()) {
if(iFace.getSimpleName().equals(ifaceName)) {
return (Class<? extends S>)iFace;
......@@ -64,4 +64,4 @@ public class EMFTypeMap<S, T> extends TreeMap<Class<? extends S>, T> {
}
});
}
}
\ No newline at end of file
}
......@@ -18,4 +18,4 @@ package org.fortiss.tooling.kernel.service.types;
/** Maps a given EMF type to another type. */
public class EMFTypeToTypeMap<S, T> extends EMFTypeMap<S, Class<? extends T>> {
// Nothing to do
}
\ No newline at end of file
}
......@@ -20,4 +20,4 @@ import java.util.LinkedHashSet;
/** Target type for {@link EMFTypeToTypeSetMap}. */
public class TypeSet<T> extends LinkedHashSet<Class<? extends T>> {
// Nothing to do
}
\ No newline at end of file
}
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