Profile never published

This commit is contained in:
Fabio Sinibaldi 2021-11-11 10:44:58 +01:00
parent f2ba354915
commit 852d1ed712
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ public class GCATTransformer implements DataTransformer<GCatModel,InternalAlgori
@Override
public Set<GCatModel> transform(Collection<InternalAlgorithmDescriptor> collectedData) {
HashSet<GCatModel> toReturn=new HashSet<>();
boolean specifyProfile=true;
boolean specifyProfile=false; //never
for(InternalAlgorithmDescriptor desc:collectedData) {
toReturn.add(desc.asCKANModel(specifyProfile));
specifyProfile=false; //only once