Skip to content

Commit

Permalink
Fix codacy
Browse files Browse the repository at this point in the history
Signed-off-by: jk KPADEY <[email protected]>
  • Loading branch information
mivek committed May 22, 2020
1 parent d91c5bf commit b4c6099
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
@@ -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;

Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit b4c6099

Please sign in to comment.