forked from StarOpenSource/Engine
Supress UnusedAssignment warning
This commit is contained in:
parent
b4eabae312
commit
2e76c30faf
1 changed files with 1 additions and 0 deletions
|
@ -55,6 +55,7 @@ public class Miscellaneous {
|
||||||
*
|
*
|
||||||
* @since 1-alpha0
|
* @since 1-alpha0
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("UnusedAssignment")
|
||||||
public static void invokeGarbageCollector() {
|
public static void invokeGarbageCollector() {
|
||||||
Object object = new Object();
|
Object object = new Object();
|
||||||
WeakReference<Object> weakReference = new WeakReference<>(object);
|
WeakReference<Object> weakReference = new WeakReference<>(object);
|
||||||
|
|
Loading…
Reference in a new issue