mirror of
https://github.com/dmulloy2/ProtocolLib.git
synced 2024-11-30 14:43:27 +01:00
a2bf242097
* Replace guava Charsets with StandardCharsets. * Use try-with-resources * Faster Util asList, inline getOnlinePlayers. * Use direct ArrayList allocation. * Use new instead of Lists#... * Use new instead of Lists#... * Faster looping. * Use switch. * Remove diamond operators. * Use ArrayDeque instead of LinkedList. * Actually conform to the documentation and always use an ArrayList as backing list. * Potentially breaking change: Use switch instead of startsWith as this e.g. causes "n" to be interpreted as "names" and any future new commands starting with "n" will be ignored. * Use addAll(). * Remove IntegerSet. Unused and also covered by fastutils IntSet. * Much faster boolean parsing. Might have breaking changes as parameterName is now checked after the false block. * Make most fields final, fix JavaDoc and remove diamond operators. * Make fields final. * Much cleaner getAllInterfaces() method. Co-authored-by: Dan Mulloy <dev@dmulloy2.net> |
||
---|---|---|
.. | ||
java/com/comphenix/tinyprotocol | ||
resources |