commit
9046fc2488
1 changed files with 3 additions and 3 deletions
|
@ -220,9 +220,9 @@ public class MiscUtils
|
|||
|
||||
list.clear();
|
||||
list.addAll(temporaryList);
|
||||
|
||||
while(temporaryList.size() > maxLength)
|
||||
list.remove(0);
|
||||
|
||||
while(list.size() > maxLength)
|
||||
list.remove(list.size() - 1);
|
||||
}
|
||||
|
||||
public static boolean isPureAscii(String v) {
|
||||
|
|
Loading…
Reference in a new issue