Skip to content
Snippets Groups Projects
Commit acd545d6 authored by felmer's avatar felmer
Browse files

SSDM-9121: Bug fixed: Spurious error message in Unarchiving Helper in case of...

SSDM-9121: Bug fixed: Spurious error message in Unarchiving Helper in case of empty search result sets
parent 3eb0e174
No related branches found
No related tags found
No related merge requests found
...@@ -30,6 +30,8 @@ import java.util.TreeMap; ...@@ -30,6 +30,8 @@ import java.util.TreeMap;
import java.util.TreeSet; import java.util.TreeSet;
import java.util.stream.Collectors; import java.util.stream.Collectors;
import org.apache.commons.lang3.StringUtils;
import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.core.JsonProcessingException;
import ch.ethz.sis.openbis.generic.asapi.v3.IApplicationServerApi; import ch.ethz.sis.openbis.generic.asapi.v3.IApplicationServerApi;
...@@ -201,7 +203,11 @@ public class ArchivingAggregationService extends AggregationService ...@@ -201,7 +203,11 @@ public class ArchivingAggregationService extends AggregationService
String[] splitted = ((String) args).split(","); String[] splitted = ((String) args).split(",");
for (String string : splitted) for (String string : splitted)
{ {
result.add(string.trim()); String arg = string.trim();
if (StringUtils.isNotBlank(arg))
{
result.add(arg);
}
} }
} }
return result; return result;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment