Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/navigate/VisitedItems.java')
-rw-r--r--plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/navigate/VisitedItems.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/navigate/VisitedItems.java b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/navigate/VisitedItems.java
index 91b3a7cf4f8..c36ccf1977c 100644
--- a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/navigate/VisitedItems.java
+++ b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/navigate/VisitedItems.java
@@ -31,15 +31,15 @@ import org.eclipse.osee.framework.ui.plugin.xnavigate.XNavigateItemAction;
*/
public class VisitedItems extends XNavigateItemAction {
- public static List<String> visitedGuids = new ArrayList<String>();
+ public static List<String> visitedGuids = new ArrayList<>();
public static List<Artifact> getReverseVisited() throws OseeCoreException {
// Search artifacts and hold on to references so don't get garbage collected
- Map<String, Artifact> artifacts = new HashMap<String, Artifact>();
+ Map<String, Artifact> artifacts = new HashMap<>();
for (Artifact art : ArtifactQuery.getArtifactListFromIds(visitedGuids, AtsUtilCore.getAtsBranch())) {
artifacts.put(art.getGuid(), art);
}
- List<Artifact> revArts = new ArrayList<Artifact>();
+ List<Artifact> revArts = new ArrayList<>();
for (int x = visitedGuids.size(); x <= 0; x--) {
Artifact art = artifacts.get(visitedGuids.get(x));
if (art != null) {

Back to the top