Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/util/LegacyPCRActions.java')
-rw-r--r--plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/util/LegacyPCRActions.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/util/LegacyPCRActions.java b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/util/LegacyPCRActions.java
index 1bb22420dda..2ce0b5a4eb1 100644
--- a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/util/LegacyPCRActions.java
+++ b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/util/LegacyPCRActions.java
@@ -34,7 +34,7 @@ public class LegacyPCRActions {
public static Collection<TeamWorkFlowArtifact> getTeamsTeamWorkflowArtifacts(Collection<IAtsTeamDefinition> teamDefs) throws OseeCoreException {
LegacyPCRActionsWorldSearchItem search = new LegacyPCRActionsWorldSearchItem(teamDefs, false);
- Set<TeamWorkFlowArtifact> teamArts = new HashSet<TeamWorkFlowArtifact>();
+ Set<TeamWorkFlowArtifact> teamArts = new HashSet<>();
for (Artifact art : search.performSearchGetResults()) {
if (art.isOfType(AtsArtifactTypes.TeamWorkflow)) {
teamArts.add((TeamWorkFlowArtifact) art);
@@ -57,7 +57,7 @@ public class LegacyPCRActions {
public static Collection<TeamWorkFlowArtifact> getTeamsTeamWorkflowArtifacts(Collection<String> pcrIds, Collection<IAtsTeamDefinition> teamDefs) throws OseeCoreException {
LegacyPCRActionsWorldSearchItem search = new LegacyPCRActionsWorldSearchItem(pcrIds, teamDefs, false);
- Set<TeamWorkFlowArtifact> teamArts = new HashSet<TeamWorkFlowArtifact>();
+ Set<TeamWorkFlowArtifact> teamArts = new HashSet<>();
for (Artifact art : search.performSearchGetResults()) {
if (art.isOfType(AtsArtifactTypes.TeamWorkflow)) {
teamArts.add((TeamWorkFlowArtifact) art);
@@ -72,7 +72,7 @@ public class LegacyPCRActions {
public static Collection<ActionArtifact> getTeamsActionArtifacts(Collection<IAtsTeamDefinition> teamDefs) throws OseeCoreException {
LegacyPCRActionsWorldSearchItem search = new LegacyPCRActionsWorldSearchItem(teamDefs, true);
- Set<ActionArtifact> actArts = new HashSet<ActionArtifact>();
+ Set<ActionArtifact> actArts = new HashSet<>();
for (Artifact art : search.performSearchGetResults()) {
if (art.isOfType(AtsArtifactTypes.Action)) {
actArts.add((ActionArtifact) art);
@@ -87,7 +87,7 @@ public class LegacyPCRActions {
public static Collection<Artifact> getTeamsActionArtifacts(Collection<String> pcrIds, Collection<IAtsTeamDefinition> teamDefs) throws OseeCoreException {
LegacyPCRActionsWorldSearchItem search = new LegacyPCRActionsWorldSearchItem(pcrIds, teamDefs, true);
- Set<Artifact> actArts = new HashSet<Artifact>();
+ Set<Artifact> actArts = new HashSet<>();
for (Artifact art : search.performSearchGetResults()) {
actArts.add(art);
}

Back to the top