Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.osee.define/src/org/eclipse/osee/define/blam/operation/FixAttributeOperation.java')
-rw-r--r--plugins/org.eclipse.osee.define/src/org/eclipse/osee/define/blam/operation/FixAttributeOperation.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.osee.define/src/org/eclipse/osee/define/blam/operation/FixAttributeOperation.java b/plugins/org.eclipse.osee.define/src/org/eclipse/osee/define/blam/operation/FixAttributeOperation.java
index 068f841e4e1..580e0a341c9 100644
--- a/plugins/org.eclipse.osee.define/src/org/eclipse/osee/define/blam/operation/FixAttributeOperation.java
+++ b/plugins/org.eclipse.osee.define/src/org/eclipse/osee/define/blam/operation/FixAttributeOperation.java
@@ -77,7 +77,7 @@ public class FixAttributeOperation extends AbstractOperation {
if (commitChangesBool) {
transaction = TransactionManager.createTransaction(branch, "Fixing Duplicate Enumerated Types");
}
- List<String[]> rowData = new ArrayList<String[]>();
+ List<String[]> rowData = new ArrayList<>();
for (Entry<Artifact, Collection<IAttributeType>> entry : artifactAttributeMap.entrySet()) {
Artifact artifact = entry.getKey();
@@ -149,7 +149,7 @@ public class FixAttributeOperation extends AbstractOperation {
private boolean hasDuplicates(List<Object> attributeValues) {
boolean result = false;
- Set<Object> set = new HashSet<Object>();
+ Set<Object> set = new HashSet<>();
for (Object object : attributeValues) {
if (!set.add(object)) {
result = true;

Back to the top