Commit f4567b0e1990ef1003fc63d810207b7d5c94271a

Authored by Cleverson Sacramento
1 parent 73a7a223
Exists in master

Correção do erro embutido após refatoração

impl/core/src/main/java/br/gov/frameworkdemoiselle/util/Strings.java
@@ -54,10 +54,10 @@ public final class Strings { @@ -54,10 +54,10 @@ public final class Strings {
54 54
55 public static String removeChars(String string, char... chars) { 55 public static String removeChars(String string, char... chars) {
56 String result = string; 56 String result = string;
57 - 57 +
58 if (result != null) { 58 if (result != null) {
59 for (char ch : chars) { 59 for (char ch : chars) {
60 - result = string.replace(String.valueOf(ch), ""); 60 + result = result.replace(String.valueOf(ch), "");
61 } 61 }
62 } 62 }
63 return result; 63 return result;