Skip to content

Commit

Permalink
fixed files form Lang #45
Browse files Browse the repository at this point in the history
  • Loading branch information
tdurieux committed Mar 7, 2017
1 parent a90c02c commit 243b342
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions projects/Lang/45/org/apache/commons/lang/WordUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -613,6 +613,9 @@ public static String abbreviate(String str, int lower, int upper, String appendT

// if the lower value is greater than the length of the string,
// set to the length of the string
if (lower > str.length()) {
lower = str.length();
}
// if the upper value is -1 (i.e. no limit) or is greater
// than the length of the string, set to the length of the string
if (upper == -1 || upper > str.length()) {
Expand Down

0 comments on commit 243b342

Please sign in to comment.