Supress UnusedAssignment warning

This commit is contained in:
JeremyStar™ 2024-06-09 16:46:37 +02:00
parent b4eabae312
commit 2e76c30faf
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D

View file

@ -55,6 +55,7 @@ public class Miscellaneous {
*
* @since 1-alpha0
*/
@SuppressWarnings("UnusedAssignment")
public static void invokeGarbageCollector() {
Object object = new Object();
WeakReference<Object> weakReference = new WeakReference<>(object);