Skip to content

Commit

Permalink
length()
Browse files Browse the repository at this point in the history
  • Loading branch information
amihaiemil committed May 3, 2018
1 parent 6de586d commit 0ae8296
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -9,7 +9,7 @@ public StringLengthEqualsZero(final String str) {
}

public boolean sizeIsZero() {
return somestring.length == 0;
return somestring.length() == 0;
}

}

0 comments on commit 0ae8296

Please sign in to comment.