Fix recent files
This commit is contained in:
parent
152957c128
commit
8b97fbffc8
1 changed files with 3 additions and 3 deletions
|
@ -221,8 +221,8 @@ 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