diff options
Diffstat (limited to 'plugins/org.eclipse.osee.ats.rest/src/org/eclipse/osee/ats/rest/internal/config/ReportResource.java')
-rw-r--r-- | plugins/org.eclipse.osee.ats.rest/src/org/eclipse/osee/ats/rest/internal/config/ReportResource.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/org.eclipse.osee.ats.rest/src/org/eclipse/osee/ats/rest/internal/config/ReportResource.java b/plugins/org.eclipse.osee.ats.rest/src/org/eclipse/osee/ats/rest/internal/config/ReportResource.java index cb16940533a..30fdb39b1e4 100644 --- a/plugins/org.eclipse.osee.ats.rest/src/org/eclipse/osee/ats/rest/internal/config/ReportResource.java +++ b/plugins/org.eclipse.osee.ats.rest/src/org/eclipse/osee/ats/rest/internal/config/ReportResource.java @@ -60,9 +60,9 @@ public class ReportResource { @Produces(MediaType.APPLICATION_OCTET_STREAM) public Response getTypeCount(@QueryParam("branchUuid") long branchUuid, @QueryParam("artTypes") List<Long> artTypes, @QueryParam("attrTypes") List<Long> attrTypes) throws OseeCoreException { List<ChangeItem> changes = getChanges(branchUuid); - Set<Long> newArts = new HashSet<Long>(); - Set<Long> modArts = new HashSet<Long>(); - Set<Long> deletedArts = new HashSet<Long>(); + Set<Long> newArts = new HashSet<>(); + Set<Long> modArts = new HashSet<>(); + Set<Long> deletedArts = new HashSet<>(); Map<Integer, Pair<ChangeItem, Set<ChangeItem>>> artToChanges = new HashMap<Integer, Pair<ChangeItem, Set<ChangeItem>>>(); @@ -100,7 +100,7 @@ public class ReportResource { } } else if (changeType.isAttributeChange()) { if (!artToChanges.containsKey(artId)) { - Set<ChangeItem> changeSet = new HashSet<ChangeItem>(); + Set<ChangeItem> changeSet = new HashSet<>(); changeSet.add(change); artToChanges.put(artId, new Pair<>(null, changeSet)); } else { |