From 602a4f219ca9238304f7374f973397bb1e9e22c3 Mon Sep 17 00:00:00 2001 From: Christian Date: Sat, 4 Aug 2012 12:38:17 -0400 Subject: [PATCH] Remove some unneeded fields from the annotations --- common/cpw/mods/fml/common/Mod.java | 24 ++++++------------------ 1 file changed, 6 insertions(+), 18 deletions(-) diff --git a/common/cpw/mods/fml/common/Mod.java b/common/cpw/mods/fml/common/Mod.java index a9801b925d..f2df15176b 100644 --- a/common/cpw/mods/fml/common/Mod.java +++ b/common/cpw/mods/fml/common/Mod.java @@ -71,9 +71,7 @@ public @interface Mod */ @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.METHOD) - public @interface PreInit { - static Class[] paramTypes = new Class[] { FMLPreInitializationEvent.class }; - } + public @interface PreInit {} /** * Mark the designated method as being called at the "initialization" phase * @author cpw @@ -81,9 +79,7 @@ public @interface Mod */ @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.METHOD) - public @interface Init { - static Class[] paramTypes = new Class[] { FMLInitializationEvent.class }; - } + public @interface Init {} /** * Mark the designated method as being called at the "post-initialization" phase * @author cpw @@ -91,9 +87,7 @@ public @interface Mod */ @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.METHOD) - public @interface PostInit { - static Class[] paramTypes = new Class[] { FMLPostInitializationEvent.class }; - } + public @interface PostInit {} /** * Mark the designated method as being called at the "server-starting" phase * @author cpw @@ -101,9 +95,7 @@ public @interface Mod */ @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.METHOD) - public @interface ServerStarting { - static Class[] paramTypes = new Class[] { FMLServerStartingEvent.class }; - } + public @interface ServerStarting {} /** * Mark the designated method as being called at the "post-initialization" phase * @author cpw @@ -111,9 +103,7 @@ public @interface Mod */ @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.METHOD) - public @interface ServerStarted { - static Class[] paramTypes = new Class[] { FMLServerStartedEvent.class }; - } + public @interface ServerStarted {} /** * Mark the designated method as being called at the "post-initialization" phase * @author cpw @@ -121,9 +111,7 @@ public @interface Mod */ @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.METHOD) - public @interface ServerStopping { - static Class[] paramTypes = new Class[] { FMLServerStoppingEvent.class }; - } + public @interface ServerStopping {} /** * Populate the annotated field with the mod instance. * @author cpw