Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/world/search/MyGoalWorkflowItem.java')
-rw-r--r--plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/world/search/MyGoalWorkflowItem.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/world/search/MyGoalWorkflowItem.java b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/world/search/MyGoalWorkflowItem.java
index 2662abdee29..dc0e339f3a0 100644
--- a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/world/search/MyGoalWorkflowItem.java
+++ b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/world/search/MyGoalWorkflowItem.java
@@ -55,7 +55,7 @@ public class MyGoalWorkflowItem extends UserSearchItem {
protected Collection<Artifact> searchIt(IAtsUser user) throws OseeCoreException {
Set<Artifact> assigned = AtsUtil.getAssigned(user);
- Set<Artifact> artifacts = new HashSet<Artifact>(50);
+ Set<Artifact> artifacts = new HashSet<>(50);
// Because user can be assigned directly to review or through being assigned to task, add in
// all the original artifacts.
artifacts.addAll(assigned);
@@ -67,7 +67,7 @@ public class MyGoalWorkflowItem extends UserSearchItem {
"<" + user.getUserId() + ">", AtsUtilCore.getAtsBranch(), QueryOption.CONTAINS_MATCH_OPTIONS));
}
- List<Artifact> artifactsToReturn = new ArrayList<Artifact>(artifacts.size());
+ List<Artifact> artifactsToReturn = new ArrayList<>(artifacts.size());
for (Artifact artifact : artifacts) {
if (artifact.isOfType(AtsArtifactTypes.Goal) && (goalSearchState == GoalSearchState.All || goalSearchState == GoalSearchState.InWork && !((AbstractWorkflowArtifact) artifact).isCompletedOrCancelled())) {
artifactsToReturn.add(artifact);

Back to the top