From 421cf95366ce2d529b9d8069625ffa65ea4cee3e Mon Sep 17 00:00:00 2001
From: Mirco Nasuti <mirco.nasuti@chuv.ch>
Date: Thu, 22 Dec 2016 09:52:49 +0100
Subject: [PATCH] Unnecessary use of fully qualified name was removed following
 codacy hint

---
 src/main/java/eu/hbp/mip/model/Experiment.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/eu/hbp/mip/model/Experiment.java b/src/main/java/eu/hbp/mip/model/Experiment.java
index fa95d4f41..964fedbe5 100644
--- a/src/main/java/eu/hbp/mip/model/Experiment.java
+++ b/src/main/java/eu/hbp/mip/model/Experiment.java
@@ -115,7 +115,7 @@ public class Experiment {
         List<eu.hbp.mip.model.Algorithm> algos = new Gson().fromJson(this.algorithms, algoList);
         for (eu.hbp.mip.model.Algorithm a: algos
              ) {
-            scala.collection.immutable.HashMap<String, String> params = new HashMap<>();
+            HashMap<String, String> params = new HashMap<>();
             for (AlgorithmParam ap: a.getParameters()
                  ) {
                 params = params.updated(ap.getCode(), ap.getValue());
@@ -127,7 +127,7 @@ public class Experiment {
         List<eu.hbp.mip.model.ExperimentValidator> valids = new Gson().fromJson(this.validations, validList);
         for (ExperimentValidator v: valids
                 ) {
-            scala.collection.immutable.HashMap<String, String> params = new HashMap<>();
+            HashMap<String, String> params = new HashMap<>();
             for (AlgorithmParam ap: v.getParameters()
                     ) {
                 params = params.updated(ap.getCode(), ap.getValue());
-- 
GitLab