JAL-4136 Replace uses of isBlank with isEmpty
authorMateusz Warowny <mmzwarowny@dundee.ac.uk>
Wed, 1 Mar 2023 15:22:31 +0000 (16:22 +0100)
committerMateusz Warowny <mmzwarowny@dundee.ac.uk>
Wed, 1 Mar 2023 15:22:31 +0000 (16:22 +0100)
src/jalview/ws2/client/slivka/SlivkaWSClient.java

index 3b81ba9..bef502b 100644 (file)
@@ -116,7 +116,7 @@ public class SlivkaWSClient implements WebServiceClientI
         Parameter param = service.getParameter(paramId);
         if (param instanceof Parameter.FlagParameter)
         {
-          if (arg.getValue() != null && !arg.getValue().isBlank())
+          if (arg.getValue() != null && !arg.getValue().isEmpty())
             request.addData(paramId, true);
           else
             request.addData(paramId, false);