This commit is contained in:
Nunzio Andrea Galante 2017-03-29 14:45:22 +00:00
parent d065e09593
commit b35083da4f
1 changed files with 7 additions and 7 deletions

View File

@ -229,24 +229,24 @@ public class RestPoolManager implements PoolManager {
if (algo.getCategory() == null){
algo.setCategory(category);
} else category = algo.getCategory();
} else algo.setCategory(algo.getCategory());
if (algo.getAlgorithmType() == null){
algo.setAlgorithmType(algorithmType);
} else algorithmType = algo.getCategory();
} else algo.setAlgorithmType(algo.getCategory());
if (algo.getSkipJava() == null){
algo.setSkipJava(skipJava);
} else skipJava = algo.getSkipJava();
} else algo.setSkipJava(algo.getSkipJava());
if (algo.getName() == null){
algo.setName(name+uuid);
} else name = algo.getName()+"@"+uuid;
algo.setName(name+"@"+uuid);
} else algo.setName(algo.getName()+"@"+uuid);
if (algo.getDescription() == null){
algo.setDescription(description);;
} else description = algo.getDescription();
} else algo.setDescription(algo.getDescription());
return algo;
}