diff options
Diffstat (limited to 'plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/artifact/KeyValueArtifact.java')
-rw-r--r-- | plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/artifact/KeyValueArtifact.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/artifact/KeyValueArtifact.java b/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/artifact/KeyValueArtifact.java index 85e669ad692..828a9400b2a 100644 --- a/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/artifact/KeyValueArtifact.java +++ b/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/artifact/KeyValueArtifact.java @@ -36,7 +36,7 @@ public class KeyValueArtifact { this.keyValueAttributeType = keyValueAttributeType; load(); } - protected HashCollection<String, String> keyValueMap = new HashCollection<String, String>(20); + protected HashCollection<String, String> keyValueMap = new HashCollection<>(20); private final Pattern keyValuePattern = Pattern.compile("^(.*?)=(.*)$", Pattern.MULTILINE | Pattern.DOTALL); public HashCollection<String, String> getHashCollection() { @@ -49,7 +49,7 @@ public class KeyValueArtifact { public void save() throws OseeCoreException { if (keyValueMap.size() > 0) { - Set<String> keyValues = new HashSet<String>(); + Set<String> keyValues = new HashSet<>(); for (String key : keyValueMap.keySet()) { for (String value : keyValueMap.getValues(key)) { keyValues.add(key + "=" + value); |