Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan D. Brooks2015-09-28 14:49:18 -0400
committerRyan D. Brooks2015-09-28 14:49:18 -0400
commit071fcbc5cca4e22e650bb459701f5fc9be701013 (patch)
treeac629d866ecfea675bc4e134c68315440282d560 /plugins/org.eclipse.osee.ats.reports.split
parentb4f6f62b0d3af365b67a3786dbb24c97fa638536 (diff)
downloadorg.eclipse.osee-071fcbc5cca4e22e650bb459701f5fc9be701013.tar.gz
org.eclipse.osee-071fcbc5cca4e22e650bb459701f5fc9be701013.tar.xz
org.eclipse.osee-071fcbc5cca4e22e650bb459701f5fc9be701013.zip
refactor: Use type inference when invoking a generic constructor
Diffstat (limited to 'plugins/org.eclipse.osee.ats.reports.split')
-rw-r--r--plugins/org.eclipse.osee.ats.reports.split/src/org/eclipse/osee/ats/reports/split/model/AIDistributionEntry.java2
-rw-r--r--plugins/org.eclipse.osee.ats.reports.split/src/org/eclipse/osee/ats/reports/split/model/StateDistributionEntry.java2
-rw-r--r--plugins/org.eclipse.osee.ats.reports.split/src/org/eclipse/osee/ats/reports/split/model/TeamDistributionEntry.java2
-rw-r--r--plugins/org.eclipse.osee.ats.reports.split/src/org/eclipse/osee/ats/reports/split/ui/DistributionAtsReport.java2
4 files changed, 4 insertions, 4 deletions
diff --git a/plugins/org.eclipse.osee.ats.reports.split/src/org/eclipse/osee/ats/reports/split/model/AIDistributionEntry.java b/plugins/org.eclipse.osee.ats.reports.split/src/org/eclipse/osee/ats/reports/split/model/AIDistributionEntry.java
index 7721c94cc6..8f48066ba2 100644
--- a/plugins/org.eclipse.osee.ats.reports.split/src/org/eclipse/osee/ats/reports/split/model/AIDistributionEntry.java
+++ b/plugins/org.eclipse.osee.ats.reports.split/src/org/eclipse/osee/ats/reports/split/model/AIDistributionEntry.java
@@ -32,7 +32,7 @@ public class AIDistributionEntry {
*/
public AIDistributionEntry(final Artifact verArtifact) {
this.versionArtifact = verArtifact;
- this.aiSplitMap = new HashMap<IAtsActionableItem, Integer>();
+ this.aiSplitMap = new HashMap<>();
}
/**
diff --git a/plugins/org.eclipse.osee.ats.reports.split/src/org/eclipse/osee/ats/reports/split/model/StateDistributionEntry.java b/plugins/org.eclipse.osee.ats.reports.split/src/org/eclipse/osee/ats/reports/split/model/StateDistributionEntry.java
index d28925260d..3f8f5ae5b6 100644
--- a/plugins/org.eclipse.osee.ats.reports.split/src/org/eclipse/osee/ats/reports/split/model/StateDistributionEntry.java
+++ b/plugins/org.eclipse.osee.ats.reports.split/src/org/eclipse/osee/ats/reports/split/model/StateDistributionEntry.java
@@ -33,7 +33,7 @@ public class StateDistributionEntry {
*/
public StateDistributionEntry(final Artifact ver) {
this.versionArtifact = ver;
- this.stateSplitMap = new HashMap<String, Double>();
+ this.stateSplitMap = new HashMap<>();
}
/**
diff --git a/plugins/org.eclipse.osee.ats.reports.split/src/org/eclipse/osee/ats/reports/split/model/TeamDistributionEntry.java b/plugins/org.eclipse.osee.ats.reports.split/src/org/eclipse/osee/ats/reports/split/model/TeamDistributionEntry.java
index 0398b46335..780ab82047 100644
--- a/plugins/org.eclipse.osee.ats.reports.split/src/org/eclipse/osee/ats/reports/split/model/TeamDistributionEntry.java
+++ b/plugins/org.eclipse.osee.ats.reports.split/src/org/eclipse/osee/ats/reports/split/model/TeamDistributionEntry.java
@@ -32,7 +32,7 @@ public class TeamDistributionEntry {
*/
public TeamDistributionEntry(final Artifact verArtifact) {
this.versionArtifact = verArtifact;
- this.teamSplitMap = new HashMap<String, Double>();
+ this.teamSplitMap = new HashMap<>();
}
/**
diff --git a/plugins/org.eclipse.osee.ats.reports.split/src/org/eclipse/osee/ats/reports/split/ui/DistributionAtsReport.java b/plugins/org.eclipse.osee.ats.reports.split/src/org/eclipse/osee/ats/reports/split/ui/DistributionAtsReport.java
index 8ec394b71c..c7937c8204 100644
--- a/plugins/org.eclipse.osee.ats.reports.split/src/org/eclipse/osee/ats/reports/split/ui/DistributionAtsReport.java
+++ b/plugins/org.eclipse.osee.ats.reports.split/src/org/eclipse/osee/ats/reports/split/ui/DistributionAtsReport.java
@@ -69,7 +69,7 @@ public class DistributionAtsReport implements AtsReport<IAtsVersion, Object> {
@Override
public List<IResultsEditorTab> getResultsEditorTabs() {
- List<IResultsEditorTab> tabs = new ArrayList<IResultsEditorTab>();
+ List<IResultsEditorTab> tabs = new ArrayList<>();
tabs.add(createTab("Actionable Item", "reports/aiDistribution.rptdesign"));
tabs.add(createTab("Team-Work", "reports/teamWorkDistribution.rptdesign"));
tabs.add(createTab("Workflow State", "reports/stateWorkDistribution.rptdesign"));

Back to the top