{} where allowed
This commit is contained in:
@@ -25,7 +25,4 @@
|
||||
|
||||
package net.runelite.asm.attributes.code.instruction.types;
|
||||
|
||||
public interface ArrayStoreInstruction extends MappableInstruction
|
||||
{
|
||||
|
||||
}
|
||||
public interface ArrayStoreInstruction extends MappableInstruction {}
|
||||
|
||||
@@ -25,7 +25,4 @@
|
||||
|
||||
package net.runelite.asm.attributes.code.instruction.types;
|
||||
|
||||
public interface ComparisonInstruction
|
||||
{
|
||||
|
||||
}
|
||||
public interface ComparisonInstruction {}
|
||||
|
||||
@@ -25,7 +25,4 @@
|
||||
|
||||
package net.runelite.asm.attributes.code.instruction.types;
|
||||
|
||||
public interface ConversionInstruction
|
||||
{
|
||||
|
||||
}
|
||||
public interface ConversionInstruction {}
|
||||
|
||||
@@ -25,6 +25,4 @@
|
||||
|
||||
package net.runelite.asm.attributes.code.instruction.types;
|
||||
|
||||
public interface GetFieldInstruction extends FieldInstruction
|
||||
{
|
||||
}
|
||||
public interface GetFieldInstruction extends FieldInstruction {}
|
||||
|
||||
@@ -25,7 +25,4 @@
|
||||
|
||||
package net.runelite.asm.attributes.code.instruction.types;
|
||||
|
||||
public interface ReturnInstruction
|
||||
{
|
||||
|
||||
}
|
||||
public interface ReturnInstruction {}
|
||||
|
||||
@@ -25,6 +25,4 @@
|
||||
|
||||
package net.runelite.asm.attributes.code.instruction.types;
|
||||
|
||||
public interface SetFieldInstruction extends FieldInstruction, MappableInstruction
|
||||
{
|
||||
}
|
||||
public interface SetFieldInstruction extends FieldInstruction, MappableInstruction {}
|
||||
|
||||
@@ -24,7 +24,4 @@
|
||||
*/
|
||||
package net.runelite.deob.deobfuscators.unusedclass;
|
||||
|
||||
public class EmptyClass
|
||||
{
|
||||
|
||||
}
|
||||
public class EmptyClass {}
|
||||
|
||||
@@ -24,7 +24,4 @@
|
||||
*/
|
||||
package net.runelite.deob.deobfuscators.unusedclass;
|
||||
|
||||
public interface EmptyInterface
|
||||
{
|
||||
|
||||
}
|
||||
public interface EmptyInterface {}
|
||||
|
||||
@@ -70,9 +70,7 @@ public class HookImporter
|
||||
Assert.assertNotNull(is);
|
||||
|
||||
Gson gson = new Gson();
|
||||
java.lang.reflect.Type type = new TypeToken<Map<String, ClassHook>>()
|
||||
{
|
||||
}.getType();
|
||||
java.lang.reflect.Type type = new TypeToken<Map<String, ClassHook>>() {}.getType();
|
||||
hooks = gson.fromJson(new InputStreamReader(is), type);
|
||||
|
||||
group = JarUtil.loadJar(IN);
|
||||
|
||||
@@ -81,9 +81,7 @@ public class HookImporter
|
||||
|
||||
InputStream is = getClass().getResourceAsStream("hooks.json");
|
||||
Gson gson = new Gson();
|
||||
java.lang.reflect.Type type = new TypeToken<List<HookClass>>()
|
||||
{
|
||||
}.getType();
|
||||
java.lang.reflect.Type type = new TypeToken<List<HookClass>>() {}.getType();
|
||||
hooks = gson.fromJson(new InputStreamReader(is), type);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user