From: Mateusz Warowny Date: Wed, 1 Mar 2023 15:22:31 +0000 (+0100) Subject: JAL-4136 Replace uses of isBlank with isEmpty X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=45d7b8f24253fa1c49977feedfe8a0f2f7cea85e;p=jalview.git JAL-4136 Replace uses of isBlank with isEmpty --- diff --git a/src/jalview/ws2/client/slivka/SlivkaWSClient.java b/src/jalview/ws2/client/slivka/SlivkaWSClient.java index 3b81ba9..bef502b 100644 --- a/src/jalview/ws2/client/slivka/SlivkaWSClient.java +++ b/src/jalview/ws2/client/slivka/SlivkaWSClient.java @@ -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);