1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-07-07 20:34:25 +00:00
CC-Tweaked/projects/core
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 Replace Collections methods with {List,Map,Set}.of 2023-10-21 10:37:43 +01:00
build.gradle.kts Fix a couple of future deprecations in Gradle 2023-10-19 18:28:15 +01:00