1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-11-18 15:54:54 +00:00
CC-Tweaked/projects/core-api
Jonathan Coates cab66a2d6e
Replace Collections methods with {List,Map,Set}.of
The two implementations aren't entirely compatible - the implementation
returned by .of will throw an NPE on .contains(null), whereas the
Collections implementations just return false. However, we try to avoid
passing null to collections methods, so this should be safe.

There's no strong reason to do this, but it helps make the code a little
more consistent
2023-10-21 10:37:43 +01:00
..
src/main/java/dan200/computercraft/api Replace Collections methods with {List,Map,Set}.of 2023-10-21 10:37:43 +01:00
build.gradle.kts Build a web-based emulator for the documentation site (#1597) 2023-10-03 09:19:19 +01:00