diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-12-01 13:22:25 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-12-01 13:22:25 +1300 |
commit | b175699d497967a9105425bf288d833ce96973e2 (patch) | |
tree | 127691c41dd43b2a28e02725768e1f4b13228443 /src/org/traccar/helper/Clazz.java | |
parent | 6c444343d14bd3158bb27285efbcb17141166bff (diff) | |
download | trackermap-server-b175699d497967a9105425bf288d833ce96973e2.tar.gz trackermap-server-b175699d497967a9105425bf288d833ce96973e2.tar.bz2 trackermap-server-b175699d497967a9105425bf288d833ce96973e2.zip |
Remove unused methods and classes
Diffstat (limited to 'src/org/traccar/helper/Clazz.java')
-rw-r--r-- | src/org/traccar/helper/Clazz.java | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/org/traccar/helper/Clazz.java b/src/org/traccar/helper/Clazz.java index ba4c4fded..1a1b445d5 100644 --- a/src/org/traccar/helper/Clazz.java +++ b/src/org/traccar/helper/Clazz.java @@ -23,19 +23,6 @@ import java.lang.reflect.Type; public final class Clazz implements Serializable { - private static final long serialVersionUID = 4983299355055144885L; - - private Clazz() { - } - - public static Class getGenericArgumentType(Class currentClass, Class genericSuperClass) { - return getGenericArgumentType(currentClass, genericSuperClass, 0); - } - - public static Class getGenericArgumentType(Class currentClass, int argumentIndex) { - return getGenericArgumentType(currentClass, null, argumentIndex); - } - public static Class getGenericArgumentType(Class currentClass) { return getGenericArgumentType(currentClass, null, 0); } @@ -72,14 +59,6 @@ public final class Clazz implements Serializable { throw new ClassCastException(); } - public static Class forName(String className) { - try { - return Class.forName(className, false, Thread.currentThread().getContextClassLoader()); - } catch (ClassNotFoundException e) { - throw new IllegalArgumentException(e); - } - } - public static <T> long getId(T entity) throws Exception { Method[] methods = entity.getClass().getMethods(); for (final Method method : methods) { |