Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.osee.ats.rest/src/org/eclipse/osee/ats/rest/internal/config/ProgramResource.java')
-rw-r--r--plugins/org.eclipse.osee.ats.rest/src/org/eclipse/osee/ats/rest/internal/config/ProgramResource.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.osee.ats.rest/src/org/eclipse/osee/ats/rest/internal/config/ProgramResource.java b/plugins/org.eclipse.osee.ats.rest/src/org/eclipse/osee/ats/rest/internal/config/ProgramResource.java
index a60b6ce6339..89719e1e7c6 100644
--- a/plugins/org.eclipse.osee.ats.rest/src/org/eclipse/osee/ats/rest/internal/config/ProgramResource.java
+++ b/plugins/org.eclipse.osee.ats.rest/src/org/eclipse/osee/ats/rest/internal/config/ProgramResource.java
@@ -71,7 +71,7 @@ public class ProgramResource extends AbstractConfigResource {
}
// get the insertions related to the given program
ResultSet<ArtifactReadable> results = programArt.getRelated(AtsRelationTypes.ProgramToInsertion_Insertion);
- List<IAtsConfigObject> insertions = new LinkedList<IAtsConfigObject>();
+ List<IAtsConfigObject> insertions = new LinkedList<>();
for (ArtifactReadable insertion : results) {
insertions.add(atsServer.getConfigItemFactory().getInsertion(insertion));
}
@@ -159,7 +159,7 @@ public class ProgramResource extends AbstractConfigResource {
// get the insertions related to the given program
ResultSet<ArtifactReadable> results =
insertion.getRelated(AtsRelationTypes.InsertionToInsertionActivity_InsertionActivity);
- List<IAtsConfigObject> insertionActivitys = new LinkedList<IAtsConfigObject>();
+ List<IAtsConfigObject> insertionActivitys = new LinkedList<>();
for (ArtifactReadable insertionActivity : results) {
insertionActivitys.add(atsServer.getConfigItemFactory().getInsertionActivity(insertionActivity));
}

Back to the top