Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/util/DemoTestUtil.java')
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/util/DemoTestUtil.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/util/DemoTestUtil.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/util/DemoTestUtil.java
index 5e449b1e065..e4cd5ba2ac2 100644
--- a/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/util/DemoTestUtil.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/util/DemoTestUtil.java
@@ -144,7 +144,7 @@ public class DemoTestUtil {
* Create tasks named title + <num>
*/
public static Collection<TaskArtifact> createSimpleTasks(TeamWorkFlowArtifact teamArt, String title, int numTasks, String relatedToState) throws Exception {
- List<String> names = new ArrayList<String>();
+ List<String> names = new ArrayList<>();
for (int x = 1; x < numTasks + 1; x++) {
names.add(title + " " + x);
}
@@ -169,7 +169,7 @@ public class DemoTestUtil {
public static Artifact getUncommittedActionWorkflow(DemoWorkType demoWorkType) throws OseeCoreException {
if (unCommittedWorkflows == null) {
- unCommittedWorkflows = new HashMap<DemoWorkType, Artifact>();
+ unCommittedWorkflows = new HashMap<>();
for (Artifact art : ArtifactQuery.getArtifactListFromName(
"SAW (uncommitted) More Reqt Changes for Diagram View", AtsUtilCore.getAtsBranch(), EXCLUDE_DELETED)) {
if (art.isOfType(DemoArtifactTypes.DemoCodeTeamWorkflow)) {
@@ -188,7 +188,7 @@ public class DemoTestUtil {
public static Artifact getCommittedActionWorkflow(DemoWorkType demoWorkType) throws OseeCoreException {
if (committedWorkflows == null) {
- committedWorkflows = new HashMap<DemoWorkType, Artifact>();
+ committedWorkflows = new HashMap<>();
for (Artifact art : ArtifactQuery.getArtifactListFromName("SAW (committed) Reqt Changes for Diagram View",
AtsUtilCore.getAtsBranch(), EXCLUDE_DELETED)) {
if (art.isOfType(DemoArtifactTypes.DemoCodeTeamWorkflow)) {

Back to the top