Skip to content
Snippets Groups Projects
Commit 421cf953 authored by Mirco Nasuti's avatar Mirco Nasuti
Browse files

Unnecessary use of fully qualified name was removed following codacy hint

parent 35d4eb25
No related branches found
No related tags found
No related merge requests found
......@@ -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());
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment