Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/EnhancedProperties.java')
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/EnhancedProperties.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/EnhancedProperties.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/EnhancedProperties.java
index 157cef2e431..5820917d588 100644
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/EnhancedProperties.java
+++ b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/EnhancedProperties.java
@@ -27,11 +27,11 @@ public class EnhancedProperties implements Serializable {
private final HashMap<String, Serializable> map;
public EnhancedProperties() {
- map = new HashMap<String, Serializable>();
+ map = new HashMap<>();
}
public EnhancedProperties(int initialCapacity) {
- map = new HashMap<String, Serializable>(initialCapacity);
+ map = new HashMap<>(initialCapacity);
}
public EnhancedProperties(EnhancedProperties props) {
@@ -69,7 +69,7 @@ public class EnhancedProperties implements Serializable {
}
public Collection<String> differences(EnhancedProperties otherProps) {
- LinkedList<String> differences = new LinkedList<String>();
+ LinkedList<String> differences = new LinkedList<>();
for (Entry<String, Serializable> entry : map.entrySet()) {
Serializable value = otherProps.getProperty(entry.getKey());
if (value == null) {

Back to the top