From 4597af588b66af886a743872677ae33a4236fb48 Mon Sep 17 00:00:00 2001 From: Moderocky Date: Fri, 8 Jul 2022 14:31:42 +0100 Subject: [PATCH] Fix some formatting from pull requests. --- src/main/java/unsafe.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/java/unsafe.java b/src/main/java/unsafe.java index 75e8976..355bdd4 100644 --- a/src/main/java/unsafe.java +++ b/src/main/java/unsafe.java @@ -117,9 +117,7 @@ public static Object get_java_field(Object owner, Object name) { public static void set_java_field(Object owner, Object name, Object value) { final FieldAccessor accessor = mirror(owner).field((name) + ""); - if (accessor != null) { - accessor.set((value)); - } + if (accessor != null) accessor.set((value)); } //endregion