Added comments, fixed missing generics for java6 compilation
This commit is contained in:
parent
4686461bc7
commit
d0fb78e129
|
@ -31,6 +31,10 @@ public enum References {
|
|||
Undefined,
|
||||
|
||||
|
||||
/**
|
||||
* Strong references are faster than weak, as there are no extra steps necessary (to clean up the data structures) during
|
||||
* mesasge publication.
|
||||
*/
|
||||
Strong,
|
||||
|
||||
/**
|
||||
|
|
|
@ -114,7 +114,7 @@ class ReflectionUtils {
|
|||
public static
|
||||
Iterator<Class<?>> getSuperTypes(Class<?> from) {
|
||||
// This must be a 'set' because there can be duplicates, depending on the object hierarchy
|
||||
final IdentityMap<Class<?>, Boolean> superclasses = new IdentityMap<>();
|
||||
final IdentityMap<Class<?>, Boolean> superclasses = new IdentityMap<Class<?>, Boolean>();
|
||||
collectInterfaces(from, superclasses);
|
||||
|
||||
while (!from.equals(Object.class) && !from.isInterface()) {
|
||||
|
|
Loading…
Reference in New Issue