1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-09-04 19:37:55 +00:00

Switch a few more places to use Java 17 features

New ErrorProne hint, and one which is actually pretty useful!
This commit is contained in:
Jonathan Coates
2025-03-22 09:39:47 +00:00
parent c458360b18
commit 9c0ce27ce6
19 changed files with 58 additions and 59 deletions

View File

@@ -168,6 +168,7 @@ public class TransformingClassLoader extends ClassLoader {
}
}
@SuppressWarnings("ArrayRecordComponent")
private record TransformedClass(String name, byte[] contents) {
}
}