Get limited list of entries @return
()
| 115 | * @return |
| 116 | */ |
| 117 | public static LinkedList<WorldFileEntry> getEntries(){ |
| 118 | LinkedList<WorldFileEntry> ret = new LinkedList<>(worldFileHistory); |
| 119 | |
| 120 | while(ret.size() > MAX_HISTORY_ENTRIES){ |
| 121 | ret.removeLast(); |
| 122 | } |
| 123 | |
| 124 | return ret; |
| 125 | } |
| 126 | |
| 127 | /** |
| 128 | * Removes entries that do not exist in file system |
no outgoing calls