Skip to content

Commit b7bb292

Browse files
committed
insignificant code tweaks
1 parent bb4729d commit b7bb292

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/textFormatter/TextFormatter.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,8 @@ public TextFormatter concat(@NotNull String... strings) {
176176
* @return {@code true} if the formatter is simple
177177
*/
178178
public boolean isSimple() {
179-
return (this.contents.length() == 0 || this.isFormattingNotDefined())
180-
&& this.concatList.size() == 0; // we cant skip if we need to concat stuff!
179+
return (this.contents.isEmpty() || this.isFormattingNotDefined())
180+
&& this.concatList.isEmpty(); // we cant skip if we need to concat stuff!
181181
}
182182

183183
/**

0 commit comments

Comments
 (0)