Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.security/src/org/eclipse/emf/cdo/security/impl/DerivedList.java')
-rw-r--r--plugins/org.eclipse.emf.cdo.security/src/org/eclipse/emf/cdo/security/impl/DerivedList.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/org.eclipse.emf.cdo.security/src/org/eclipse/emf/cdo/security/impl/DerivedList.java b/plugins/org.eclipse.emf.cdo.security/src/org/eclipse/emf/cdo/security/impl/DerivedList.java
index 586d5ce1a1..7a4f0eb953 100644
--- a/plugins/org.eclipse.emf.cdo.security/src/org/eclipse/emf/cdo/security/impl/DerivedList.java
+++ b/plugins/org.eclipse.emf.cdo.security/src/org/eclipse/emf/cdo/security/impl/DerivedList.java
@@ -39,7 +39,7 @@ abstract class DerivedList<E extends EObject> implements InternalEList<E>, EStru
EStructuralFeature feature = getFeature();
Object[] data = getData();
- return new EcoreEList.UnmodifiableEList.FastCompare<E>(owner, feature, data.length, data);
+ return new EcoreEList.UnmodifiableEList.FastCompare<>(owner, feature, data.length, data);
}
protected abstract InternalEObject getOwner();
@@ -369,8 +369,8 @@ abstract class DerivedList<E extends EObject> implements InternalEList<E>, EStru
@SuppressWarnings("unchecked")
O start = (O)getOwner();
- Set<Object> visited = new HashSet<Object>();
- Set<E> result = new HashSet<E>();
+ Set<Object> visited = new HashSet<>();
+ Set<E> result = new HashSet<>();
getData(start, visited, result);
return result.toArray();

Back to the top