From b4c60996b9ec339f7559f77bdebd9178fcafa9ae Mon Sep 17 00:00:00 2001 From: jk KPADEY Date: Fri, 22 May 2020 18:50:21 +0200 Subject: [PATCH] Fix codacy Signed-off-by: jk KPADEY --- .../src/main/java/io/github/mivek/parser/RemarkParser.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/metarParser-parsers/src/main/java/io/github/mivek/parser/RemarkParser.java b/metarParser-parsers/src/main/java/io/github/mivek/parser/RemarkParser.java index 05875076..b48fcc4f 100644 --- a/metarParser-parsers/src/main/java/io/github/mivek/parser/RemarkParser.java +++ b/metarParser-parsers/src/main/java/io/github/mivek/parser/RemarkParser.java @@ -1,7 +1,6 @@ package io.github.mivek.parser; import io.github.mivek.command.remark.RemarkCommandSupplier; -import org.apache.commons.lang3.StringUtils; import java.util.MissingResourceException; @@ -29,7 +28,7 @@ private RemarkParser() { public String parse(final String pRemark) { String rmk = pRemark; StringBuilder sb = new StringBuilder(); - while (StringUtils.isNotEmpty(rmk)) { + while (!"".equals(rmk)) { try { rmk = supplier.get(rmk).execute(rmk, sb); } catch (MissingResourceException e) {