Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.osgi.compatibility.state/src/org/eclipse/osgi/internal/resolver/GenericSpecificationImpl.java')
-rw-r--r--bundles/org.eclipse.osgi.compatibility.state/src/org/eclipse/osgi/internal/resolver/GenericSpecificationImpl.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/bundles/org.eclipse.osgi.compatibility.state/src/org/eclipse/osgi/internal/resolver/GenericSpecificationImpl.java b/bundles/org.eclipse.osgi.compatibility.state/src/org/eclipse/osgi/internal/resolver/GenericSpecificationImpl.java
index f53e941b9..45fed239f 100644
--- a/bundles/org.eclipse.osgi.compatibility.state/src/org/eclipse/osgi/internal/resolver/GenericSpecificationImpl.java
+++ b/bundles/org.eclipse.osgi.compatibility.state/src/org/eclipse/osgi/internal/resolver/GenericSpecificationImpl.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2006, 2013 IBM Corporation and others.
+ * Copyright (c) 2006, 2016 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -169,7 +169,7 @@ public class GenericSpecificationImpl extends VersionConstraintImpl implements G
@Override
protected Map<String, String> getInternalDirectives() {
- Map<String, String> result = new HashMap<String, String>(2);
+ Map<String, String> result = new HashMap<>(2);
synchronized (this.monitor) {
if (arbitraryDirectives != null)
result.putAll(arbitraryDirectives);
@@ -187,7 +187,7 @@ public class GenericSpecificationImpl extends VersionConstraintImpl implements G
@Override
protected Map<String, Object> getInteralAttributes() {
synchronized (this.monitor) {
- return attributes == null ? Collections.<String, Object> emptyMap() : new HashMap<String, Object>(attributes);
+ return attributes == null ? Collections.<String, Object> emptyMap() : new HashMap<>(attributes);
}
}

Back to the top