Commit 83769d6dbe4ee6921c327fc398959bb4c9a9787c
1 parent
859ec481
squash remaining javadoc warnings (JDK7 level)
Showing
38 changed files
with
29 additions
and
95 deletions
java/client/com/mumfrey/liteloader/client/ClientPluginChannelsClient.java
@@ -99,8 +99,7 @@ public class ClientPluginChannelsClient extends ClientPluginChannels | @@ -99,8 +99,7 @@ public class ClientPluginChannelsClient extends ClientPluginChannels | ||
99 | } | 99 | } |
100 | 100 | ||
101 | /** | 101 | /** |
102 | - * @param channel | ||
103 | - * @param data | 102 | + * @param payload |
104 | */ | 103 | */ |
105 | static boolean dispatch(C17PacketCustomPayload payload) | 104 | static boolean dispatch(C17PacketCustomPayload payload) |
106 | { | 105 | { |
java/client/com/mumfrey/liteloader/client/LiteLoaderEventBrokerClient.java
@@ -278,8 +278,8 @@ public class LiteLoaderEventBrokerClient extends LiteLoaderEventBroker<Minecraft | @@ -278,8 +278,8 @@ public class LiteLoaderEventBrokerClient extends LiteLoaderEventBroker<Minecraft | ||
278 | /** | 278 | /** |
279 | * Callback from the tick hook, post render entities | 279 | * Callback from the tick hook, post render entities |
280 | * | 280 | * |
281 | + * @param partialTicks | ||
281 | * @param timeSlice | 282 | * @param timeSlice |
282 | - * @param partialTicks2 | ||
283 | */ | 283 | */ |
284 | void postRenderEntities(float partialTicks, long timeSlice) | 284 | void postRenderEntities(float partialTicks, long timeSlice) |
285 | { | 285 | { |
@@ -289,8 +289,8 @@ public class LiteLoaderEventBrokerClient extends LiteLoaderEventBroker<Minecraft | @@ -289,8 +289,8 @@ public class LiteLoaderEventBrokerClient extends LiteLoaderEventBroker<Minecraft | ||
289 | /** | 289 | /** |
290 | * Callback from the tick hook, post render | 290 | * Callback from the tick hook, post render |
291 | * | 291 | * |
292 | + * @param partialTicks | ||
292 | * @param timeSlice | 293 | * @param timeSlice |
293 | - * @param partialTicks2 | ||
294 | */ | 294 | */ |
295 | void postRender(float partialTicks, long timeSlice) | 295 | void postRender(float partialTicks, long timeSlice) |
296 | { | 296 | { |
@@ -366,8 +366,6 @@ public class LiteLoaderEventBrokerClient extends LiteLoaderEventBroker<Minecraft | @@ -366,8 +366,6 @@ public class LiteLoaderEventBrokerClient extends LiteLoaderEventBroker<Minecraft | ||
366 | 366 | ||
367 | /** | 367 | /** |
368 | * Callback from the tick hook, ticks all tickable mods | 368 | * Callback from the tick hook, ticks all tickable mods |
369 | - * | ||
370 | - * @param clock True if this is a new tick (otherwise it's just a new frame) | ||
371 | */ | 369 | */ |
372 | void onTick() | 370 | void onTick() |
373 | { | 371 | { |
java/client/com/mumfrey/liteloader/client/gui/GuiLiteLoaderPanel.java
@@ -631,7 +631,6 @@ public class GuiLiteLoaderPanel extends GuiScreen | @@ -631,7 +631,6 @@ public class GuiLiteLoaderPanel extends GuiScreen | ||
631 | /** | 631 | /** |
632 | * @param partialTicks | 632 | * @param partialTicks |
633 | * @param active | 633 | * @param active |
634 | - * @return | ||
635 | */ | 634 | */ |
636 | private float calcTween(float partialTicks, boolean active) | 635 | private float calcTween(float partialTicks, boolean active) |
637 | { | 636 | { |
@@ -764,10 +763,10 @@ public class GuiLiteLoaderPanel extends GuiScreen | @@ -764,10 +763,10 @@ public class GuiLiteLoaderPanel extends GuiScreen | ||
764 | } | 763 | } |
765 | 764 | ||
766 | /** | 765 | /** |
767 | - * @param resource | ||
768 | * @param x | 766 | * @param x |
769 | * @param y | 767 | * @param y |
770 | * @param icon | 768 | * @param icon |
769 | + * @param alpha | ||
771 | */ | 770 | */ |
772 | static void glDrawTexturedRect(int x, int y, Icon icon, float alpha) | 771 | static void glDrawTexturedRect(int x, int y, Icon icon, float alpha) |
773 | { | 772 | { |
java/client/com/mumfrey/liteloader/client/gui/GuiPanel.java
@@ -142,7 +142,6 @@ public abstract class GuiPanel extends Gui | @@ -142,7 +142,6 @@ public abstract class GuiPanel extends Gui | ||
142 | /** | 142 | /** |
143 | * @param mouseX | 143 | * @param mouseX |
144 | * @param mouseY | 144 | * @param mouseY |
145 | - * @return | ||
146 | */ | 145 | */ |
147 | boolean mouseOverPanel(int mouseX, int mouseY) | 146 | boolean mouseOverPanel(int mouseX, int mouseY) |
148 | { | 147 | { |
java/client/com/mumfrey/liteloader/client/gui/GuiPanelConfigContainer.java
@@ -39,7 +39,6 @@ class GuiPanelConfigContainer extends GuiPanel implements ConfigPanelHost | @@ -39,7 +39,6 @@ class GuiPanelConfigContainer extends GuiPanel implements ConfigPanelHost | ||
39 | private int totalHeight = -1; | 39 | private int totalHeight = -1; |
40 | 40 | ||
41 | /** | 41 | /** |
42 | - * @param parent | ||
43 | * @param minecraft | 42 | * @param minecraft |
44 | * @param panel | 43 | * @param panel |
45 | * @param mod | 44 | * @param mod |
@@ -53,7 +52,7 @@ class GuiPanelConfigContainer extends GuiPanel implements ConfigPanelHost | @@ -53,7 +52,7 @@ class GuiPanelConfigContainer extends GuiPanel implements ConfigPanelHost | ||
53 | } | 52 | } |
54 | 53 | ||
55 | /** | 54 | /** |
56 | - * @return | 55 | + * |
57 | */ | 56 | */ |
58 | String getPanelTitle() | 57 | String getPanelTitle() |
59 | { | 58 | { |
java/client/com/mumfrey/liteloader/client/gui/GuiPanelLiteLoaderLog.java
@@ -54,10 +54,8 @@ class GuiPanelLiteLoaderLog extends GuiPanel implements ScrollPanelContent | @@ -54,10 +54,8 @@ class GuiPanelLiteLoaderLog extends GuiPanel implements ScrollPanelContent | ||
54 | private int debugInfoTimer = 0; | 54 | private int debugInfoTimer = 0; |
55 | 55 | ||
56 | /** | 56 | /** |
57 | - * @param parent | ||
58 | * @param minecraft | 57 | * @param minecraft |
59 | - * @param panel | ||
60 | - * @param mod | 58 | + * @param parent |
61 | */ | 59 | */ |
62 | GuiPanelLiteLoaderLog(Minecraft minecraft, GuiLiteLoaderPanel parent) | 60 | GuiPanelLiteLoaderLog(Minecraft minecraft, GuiLiteLoaderPanel parent) |
63 | { | 61 | { |
java/client/com/mumfrey/liteloader/client/gui/ModListEntry.java
@@ -69,9 +69,13 @@ public class ModListEntry | @@ -69,9 +69,13 @@ public class ModListEntry | ||
69 | 69 | ||
70 | /** | 70 | /** |
71 | * Mod list entry for an ACTIVE mod | 71 | * Mod list entry for an ACTIVE mod |
72 | + * | ||
73 | + * @param mods | ||
74 | + * @param environment | ||
72 | * @param fontRenderer | 75 | * @param fontRenderer |
76 | + * @param brandColour | ||
77 | + * @param decorators | ||
73 | * @param modInfo | 78 | * @param modInfo |
74 | - * @param enabledMods | ||
75 | */ | 79 | */ |
76 | ModListEntry(LiteLoaderMods mods, LoaderEnvironment environment, FontRenderer fontRenderer, int brandColour, List<ModInfoDecorator> decorators, ModInfo<?> modInfo) | 80 | ModListEntry(LiteLoaderMods mods, LoaderEnvironment environment, FontRenderer fontRenderer, int brandColour, List<ModInfoDecorator> decorators, ModInfo<?> modInfo) |
77 | { | 81 | { |
java/client/com/mumfrey/liteloader/client/gui/startup/LoadingBar.java
@@ -410,7 +410,6 @@ public class LoadingBar extends LoadingProgress | @@ -410,7 +410,6 @@ public class LoadingBar extends LoadingProgress | ||
410 | * Pad LSB with 1's if any MSB are 1 (effectively a bitwise ceil() function) | 410 | * Pad LSB with 1's if any MSB are 1 (effectively a bitwise ceil() function) |
411 | * | 411 | * |
412 | * @param component | 412 | * @param component |
413 | - * @return | ||
414 | */ | 413 | */ |
415 | private int padComponent(int component) | 414 | private int padComponent(int component) |
416 | { | 415 | { |
java/client/com/mumfrey/liteloader/client/transformers/LiteLoaderEventInjectionTransformer.java
@@ -118,14 +118,6 @@ public class LiteLoaderEventInjectionTransformer extends EventInjectionTransform | @@ -118,14 +118,6 @@ public class LiteLoaderEventInjectionTransformer extends EventInjectionTransform | ||
118 | return this.add(event, targetMethod, injectionPoint, callback, Obf.CallbackProxyClient); | 118 | return this.add(event, targetMethod, injectionPoint, callback, Obf.CallbackProxyClient); |
119 | } | 119 | } |
120 | 120 | ||
121 | - /** | ||
122 | - * @param event | ||
123 | - * @param targetMethod | ||
124 | - * @param injectionPoint | ||
125 | - * @param callback | ||
126 | - * @param proxy | ||
127 | - * @return | ||
128 | - */ | ||
129 | private Event add(Event event, MethodInfo targetMethod, InjectionPoint injectionPoint, String callback, Obf proxy) | 121 | private Event add(Event event, MethodInfo targetMethod, InjectionPoint injectionPoint, String callback, Obf proxy) |
130 | { | 122 | { |
131 | return this.addEvent(event, targetMethod, injectionPoint).addListener(new MethodInfo(proxy, callback)); | 123 | return this.addEvent(event, targetMethod, injectionPoint).addListener(new MethodInfo(proxy, callback)); |
java/common/com/mumfrey/liteloader/api/manager/APIRegistry.java
@@ -71,7 +71,6 @@ public final class APIRegistry | @@ -71,7 +71,6 @@ public final class APIRegistry | ||
71 | 71 | ||
72 | /** | 72 | /** |
73 | * @param apiClassName | 73 | * @param apiClassName |
74 | - * @return | ||
75 | */ | 74 | */ |
76 | private LiteAPI spawnAPI(String apiClassName) | 75 | private LiteAPI spawnAPI(String apiClassName) |
77 | { | 76 | { |
@@ -108,7 +107,7 @@ public final class APIRegistry | @@ -108,7 +107,7 @@ public final class APIRegistry | ||
108 | } | 107 | } |
109 | 108 | ||
110 | /** | 109 | /** |
111 | - * @return | 110 | + * Populate and return the API instance array |
112 | */ | 111 | */ |
113 | private LiteAPI[] getAllAPIs() | 112 | private LiteAPI[] getAllAPIs() |
114 | { | 113 | { |
java/common/com/mumfrey/liteloader/core/EnabledModsList.java
@@ -123,7 +123,6 @@ public class EnabledModsList | @@ -123,7 +123,6 @@ public class EnabledModsList | ||
123 | * Internal method which returns the map for the specified profile | 123 | * Internal method which returns the map for the specified profile |
124 | * | 124 | * |
125 | * @param profileName | 125 | * @param profileName |
126 | - * @return | ||
127 | */ | 126 | */ |
128 | private Map<String, Boolean> getProfile(String profileName) | 127 | private Map<String, Boolean> getProfile(String profileName) |
129 | { | 128 | { |
java/common/com/mumfrey/liteloader/core/InterfaceRegistrationDelegate.java
java/common/com/mumfrey/liteloader/core/LiteLoader.java
@@ -178,9 +178,10 @@ public final class LiteLoader | @@ -178,9 +178,10 @@ public final class LiteLoader | ||
178 | private Input input; | 178 | private Input input; |
179 | 179 | ||
180 | /** | 180 | /** |
181 | - * LiteLoader constructor | ||
182 | - * @param profile | ||
183 | - * @param modNameFilter | 181 | + * ctor |
182 | + * | ||
183 | + * @param environment | ||
184 | + * @param properties | ||
184 | */ | 185 | */ |
185 | private LiteLoader(LoaderEnvironment environment, LoaderProperties properties) | 186 | private LiteLoader(LoaderEnvironment environment, LoaderProperties properties) |
186 | { | 187 | { |
java/common/com/mumfrey/liteloader/core/LiteLoaderBootstrap.java
@@ -426,7 +426,6 @@ class LiteLoaderBootstrap implements LoaderBootstrap, LoaderEnvironment, LoaderP | @@ -426,7 +426,6 @@ class LiteLoaderBootstrap implements LoaderBootstrap, LoaderEnvironment, LoaderP | ||
426 | * Get the properties stream either from the jar or from the properties file | 426 | * Get the properties stream either from the jar or from the properties file |
427 | * in the minecraft folder | 427 | * in the minecraft folder |
428 | * | 428 | * |
429 | - * @return | ||
430 | * @throws FileNotFoundException | 429 | * @throws FileNotFoundException |
431 | */ | 430 | */ |
432 | private InputStream getLocalPropertiesStream() throws FileNotFoundException | 431 | private InputStream getLocalPropertiesStream() throws FileNotFoundException |
java/common/com/mumfrey/liteloader/core/LiteLoaderEnumerator.java
@@ -143,7 +143,6 @@ public class LiteLoaderEnumerator implements LoaderEnumerator | @@ -143,7 +143,6 @@ public class LiteLoaderEnumerator implements LoaderEnumerator | ||
143 | 143 | ||
144 | /** | 144 | /** |
145 | * @param environment | 145 | * @param environment |
146 | - * @return | ||
147 | */ | 146 | */ |
148 | private String[] getSupportedPrefixes(LoaderEnvironment environment) | 147 | private String[] getSupportedPrefixes(LoaderEnvironment environment) |
149 | { | 148 | { |
@@ -308,7 +307,6 @@ public class LiteLoaderEnumerator implements LoaderEnumerator | @@ -308,7 +307,6 @@ public class LiteLoaderEnumerator implements LoaderEnumerator | ||
308 | 307 | ||
309 | /** | 308 | /** |
310 | * @param identifier | 309 | * @param identifier |
311 | - * @return | ||
312 | */ | 310 | */ |
313 | private LoadableMod<?> getContainerById(String identifier) | 311 | private LoadableMod<?> getContainerById(String identifier) |
314 | { | 312 | { |
@@ -329,7 +327,6 @@ public class LiteLoaderEnumerator implements LoaderEnumerator | @@ -329,7 +327,6 @@ public class LiteLoaderEnumerator implements LoaderEnumerator | ||
329 | 327 | ||
330 | /** | 328 | /** |
331 | * @param modClass | 329 | * @param modClass |
332 | - * @return | ||
333 | */ | 330 | */ |
334 | private LoadableMod<?> getContainerForMod(Class<? extends LiteMod> modClass) | 331 | private LoadableMod<?> getContainerForMod(Class<? extends LiteMod> modClass) |
335 | { | 332 | { |
@@ -671,7 +668,6 @@ public class LiteLoaderEnumerator implements LoaderEnumerator | @@ -671,7 +668,6 @@ public class LiteLoaderEnumerator implements LoaderEnumerator | ||
671 | * class | 668 | * class |
672 | * | 669 | * |
673 | * @param superClass | 670 | * @param superClass |
674 | - * @return | ||
675 | */ | 671 | */ |
676 | private static <T> LinkedList<Class<? extends T>> getSubclassesFor(LoadableMod<?> container, ClassLoader classloader, Class<T> superClass, String[] supportedPrefixes) | 672 | private static <T> LinkedList<Class<? extends T>> getSubclassesFor(LoadableMod<?> container, ClassLoader classloader, Class<T> superClass, String[] supportedPrefixes) |
677 | { | 673 | { |
java/common/com/mumfrey/liteloader/core/LiteLoaderInterfaceManager.java
@@ -93,7 +93,6 @@ public class LiteLoaderInterfaceManager implements InterfaceRegistry | @@ -93,7 +93,6 @@ public class LiteLoaderInterfaceManager implements InterfaceRegistry | ||
93 | /** | 93 | /** |
94 | * @param provider | 94 | * @param provider |
95 | * @param interfaceType | 95 | * @param interfaceType |
96 | - * @return | ||
97 | */ | 96 | */ |
98 | @SuppressWarnings("unchecked") | 97 | @SuppressWarnings("unchecked") |
99 | private Method findRegistrationMethod(InterfaceProvider provider, Class<? extends Listener> interfaceType) | 98 | private Method findRegistrationMethod(InterfaceProvider provider, Class<? extends Listener> interfaceType) |
java/common/com/mumfrey/liteloader/core/LiteLoaderMods.java
@@ -399,8 +399,6 @@ public class LiteLoaderMods | @@ -399,8 +399,6 @@ public class LiteLoaderMods | ||
399 | 399 | ||
400 | /** | 400 | /** |
401 | * Create mod instances from the enumerated classes | 401 | * Create mod instances from the enumerated classes |
402 | - * | ||
403 | - * @param modsToLoad List of mods to load | ||
404 | */ | 402 | */ |
405 | void loadMods() | 403 | void loadMods() |
406 | { | 404 | { |
@@ -651,7 +649,6 @@ public class LiteLoaderMods | @@ -651,7 +649,6 @@ public class LiteLoaderMods | ||
651 | * for inclusion in the properties file | 649 | * for inclusion in the properties file |
652 | * | 650 | * |
653 | * @param modName | 651 | * @param modName |
654 | - * @return | ||
655 | */ | 652 | */ |
656 | String getModNameForConfig(Class<? extends LiteMod> modClass, String modName) | 653 | String getModNameForConfig(Class<? extends LiteMod> modClass, String modName) |
657 | { | 654 | { |
java/common/com/mumfrey/liteloader/core/LiteLoaderUpdateSite.java
java/common/com/mumfrey/liteloader/core/Mod.java
@@ -68,7 +68,6 @@ class Mod extends ModInfo<LoadableMod<?>> | @@ -68,7 +68,6 @@ class Mod extends ModInfo<LoadableMod<?>> | ||
68 | /** | 68 | /** |
69 | * Called by the mod manager to instance the mod | 69 | * Called by the mod manager to instance the mod |
70 | * | 70 | * |
71 | - * @return | ||
72 | * @throws InstantiationException | 71 | * @throws InstantiationException |
73 | * @throws IllegalAccessException | 72 | * @throws IllegalAccessException |
74 | */ | 73 | */ |
java/common/com/mumfrey/liteloader/core/ServerPluginChannels.java
@@ -72,10 +72,6 @@ public class ServerPluginChannels extends PluginChannels<ServerPluginChannelList | @@ -72,10 +72,6 @@ public class ServerPluginChannels extends PluginChannels<ServerPluginChannelList | ||
72 | super.addPluginChannelListener(pluginChannelListener); | 72 | super.addPluginChannelListener(pluginChannelListener); |
73 | } | 73 | } |
74 | 74 | ||
75 | - /** | ||
76 | - * @param netHandler | ||
77 | - * @param loginPacket | ||
78 | - */ | ||
79 | void onServerStartup() | 75 | void onServerStartup() |
80 | { | 76 | { |
81 | this.clearPluginChannels(null); | 77 | this.clearPluginChannels(null); |
@@ -87,10 +83,6 @@ public class ServerPluginChannels extends PluginChannels<ServerPluginChannelList | @@ -87,10 +83,6 @@ public class ServerPluginChannels extends PluginChannels<ServerPluginChannelList | ||
87 | } | 83 | } |
88 | } | 84 | } |
89 | 85 | ||
90 | - /** | ||
91 | - * @param netHandler | ||
92 | - * @param loginPacket | ||
93 | - */ | ||
94 | void onPlayerJoined(EntityPlayerMP player) | 86 | void onPlayerJoined(EntityPlayerMP player) |
95 | { | 87 | { |
96 | this.sendRegisteredPluginChannels(player); | 88 | this.sendRegisteredPluginChannels(player); |
@@ -190,7 +182,7 @@ public class ServerPluginChannels extends PluginChannels<ServerPluginChannelList | @@ -190,7 +182,7 @@ public class ServerPluginChannels extends PluginChannels<ServerPluginChannelList | ||
190 | } | 182 | } |
191 | 183 | ||
192 | /** | 184 | /** |
193 | - * @param netHandler | 185 | + * @param recipient |
194 | * @param registrationData | 186 | * @param registrationData |
195 | */ | 187 | */ |
196 | private void sendRegistrationData(EntityPlayerMP recipient, PacketBuffer registrationData) | 188 | private void sendRegistrationData(EntityPlayerMP recipient, PacketBuffer registrationData) |
@@ -240,8 +232,8 @@ public class ServerPluginChannels extends PluginChannels<ServerPluginChannelList | @@ -240,8 +232,8 @@ public class ServerPluginChannels extends PluginChannels<ServerPluginChannelList | ||
240 | } | 232 | } |
241 | 233 | ||
242 | /** | 234 | /** |
243 | - * @param channel | ||
244 | - * @param data | 235 | + * @param recipient |
236 | + * @param payload | ||
245 | */ | 237 | */ |
246 | static boolean dispatch(EntityPlayerMP recipient, S3FPacketCustomPayload payload) | 238 | static boolean dispatch(EntityPlayerMP recipient, S3FPacketCustomPayload payload) |
247 | { | 239 | { |
java/common/com/mumfrey/liteloader/core/api/LoadableModFile.java
@@ -240,9 +240,6 @@ public class LoadableModFile extends LoadableFile implements LoadableMod<File> | @@ -240,9 +240,6 @@ public class LoadableModFile extends LoadableFile implements LoadableMod<File> | ||
240 | return this.getMetaValue(descriptionKey, this.getMetaValue("description", "")); | 240 | return this.getMetaValue(descriptionKey, this.getMetaValue("description", "")); |
241 | } | 241 | } |
242 | 242 | ||
243 | - /** | ||
244 | - * @return | ||
245 | - */ | ||
246 | private String compileMissingAPIList() | 243 | private String compileMissingAPIList() |
247 | { | 244 | { |
248 | StringBuilder missingAPIList = new StringBuilder(); | 245 | StringBuilder missingAPIList = new StringBuilder(); |
java/common/com/mumfrey/liteloader/core/event/HandlerList.java
@@ -596,7 +596,7 @@ public class HandlerList<T> extends LinkedList<T> implements FastIterableDeque<T | @@ -596,7 +596,7 @@ public class HandlerList<T> extends LinkedList<T> implements FastIterableDeque<T | ||
596 | 596 | ||
597 | /** | 597 | /** |
598 | * @param type | 598 | * @param type |
599 | - * @param size | 599 | + * @param logicOp |
600 | */ | 600 | */ |
601 | HandlerListClassLoader(Class<T> type, ReturnLogicOp logicOp) | 601 | HandlerListClassLoader(Class<T> type, ReturnLogicOp logicOp) |
602 | { | 602 | { |
@@ -995,7 +995,6 @@ public class HandlerList<T> extends LinkedList<T> implements FastIterableDeque<T | @@ -995,7 +995,6 @@ public class HandlerList<T> extends LinkedList<T> implements FastIterableDeque<T | ||
995 | /** | 995 | /** |
996 | * @param baseName | 996 | * @param baseName |
997 | * @param typeName | 997 | * @param typeName |
998 | - * @return | ||
999 | */ | 998 | */ |
1000 | private static String getNextClassName(String baseName, String typeName) | 999 | private static String getNextClassName(String baseName, String typeName) |
1001 | { | 1000 | { |
@@ -1004,7 +1003,6 @@ public class HandlerList<T> extends LinkedList<T> implements FastIterableDeque<T | @@ -1004,7 +1003,6 @@ public class HandlerList<T> extends LinkedList<T> implements FastIterableDeque<T | ||
1004 | 1003 | ||
1005 | /** | 1004 | /** |
1006 | * @param name | 1005 | * @param name |
1007 | - * @return | ||
1008 | * @throws IOException | 1006 | * @throws IOException |
1009 | */ | 1007 | */ |
1010 | private static byte[] getInterfaceBytes(String name) throws IOException | 1008 | private static byte[] getInterfaceBytes(String name) throws IOException |
java/common/com/mumfrey/liteloader/launch/ClassPathUtilities.java
@@ -357,7 +357,6 @@ public abstract class ClassPathUtilities | @@ -357,7 +357,6 @@ public abstract class ClassPathUtilities | ||
357 | * @param classLoader | 357 | * @param classLoader |
358 | * @param fileName | 358 | * @param fileName |
359 | * @param removeFromClassPath | 359 | * @param removeFromClassPath |
360 | - * @return | ||
361 | * @throws MalformedURLException | 360 | * @throws MalformedURLException |
362 | */ | 361 | */ |
363 | @SuppressWarnings("unchecked") | 362 | @SuppressWarnings("unchecked") |
java/common/com/mumfrey/liteloader/launch/LiteLoaderTweaker.java
@@ -275,10 +275,10 @@ public class LiteLoaderTweaker implements ITweaker | @@ -275,10 +275,10 @@ public class LiteLoaderTweaker implements ITweaker | ||
275 | } | 275 | } |
276 | 276 | ||
277 | /** | 277 | /** |
278 | + * @param args | ||
278 | * @param gameDirectory | 279 | * @param gameDirectory |
279 | * @param assetsDirectory | 280 | * @param assetsDirectory |
280 | * @param profile | 281 | * @param profile |
281 | - * @param apisToLoad | ||
282 | */ | 282 | */ |
283 | private void onPrepare(List<String> args, File gameDirectory, File assetsDirectory, String profile) | 283 | private void onPrepare(List<String> args, File gameDirectory, File assetsDirectory, String profile) |
284 | { | 284 | { |
@@ -554,7 +554,6 @@ public class LiteLoaderTweaker implements ITweaker | @@ -554,7 +554,6 @@ public class LiteLoaderTweaker implements ITweaker | ||
554 | 554 | ||
555 | /** | 555 | /** |
556 | * @param clazz | 556 | * @param clazz |
557 | - * @return | ||
558 | */ | 557 | */ |
559 | @SuppressWarnings("unchecked") | 558 | @SuppressWarnings("unchecked") |
560 | private static boolean isTweakAlreadyEnqueued(String clazz) | 559 | private static boolean isTweakAlreadyEnqueued(String clazz) |
java/common/com/mumfrey/liteloader/messaging/MessageBus.java
@@ -156,7 +156,6 @@ public class MessageBus implements InterfaceProvider | @@ -156,7 +156,6 @@ public class MessageBus implements InterfaceProvider | ||
156 | * Get messengers for the specified channel | 156 | * Get messengers for the specified channel |
157 | * | 157 | * |
158 | * @param channel | 158 | * @param channel |
159 | - * @return | ||
160 | */ | 159 | */ |
161 | private FastIterable<Messenger> getMessengerList(String channel) | 160 | private FastIterable<Messenger> getMessengerList(String channel) |
162 | { | 161 | { |
java/common/com/mumfrey/liteloader/modconfig/ExposableConfigWriter.java
@@ -269,7 +269,6 @@ public final class ExposableConfigWriter implements InstanceCreator<Exposable> | @@ -269,7 +269,6 @@ public final class ExposableConfigWriter implements InstanceCreator<Exposable> | ||
269 | * @param exposable | 269 | * @param exposable |
270 | * @param strategy | 270 | * @param strategy |
271 | * @param fileName | 271 | * @param fileName |
272 | - * @return | ||
273 | */ | 272 | */ |
274 | static ExposableConfigWriter create(Exposable exposable, ConfigStrategy strategy, String fileName, boolean aggressive) | 273 | static ExposableConfigWriter create(Exposable exposable, ConfigStrategy strategy, String fileName, boolean aggressive) |
275 | { | 274 | { |
java/common/com/mumfrey/liteloader/permissions/PermissionsManagerClient.java
@@ -163,7 +163,7 @@ public class PermissionsManagerClient implements PermissionsManager, PluginChann | @@ -163,7 +163,7 @@ public class PermissionsManagerClient implements PermissionsManager, PluginChann | ||
163 | * Register a new client mod with this manager | 163 | * Register a new client mod with this manager |
164 | * | 164 | * |
165 | * @param modName Mod name | 165 | * @param modName Mod name |
166 | - * @param modVersion Mod version | 166 | + * @param mod Mod instance |
167 | */ | 167 | */ |
168 | private void registerClientMod(String modName, Permissible mod) | 168 | private void registerClientMod(String modName, Permissible mod) |
169 | { | 169 | { |
java/common/com/mumfrey/liteloader/resources/InternalResourcePack.java
@@ -60,7 +60,6 @@ public class InternalResourcePack implements IResourcePack | @@ -60,7 +60,6 @@ public class InternalResourcePack implements IResourcePack | ||
60 | 60 | ||
61 | /** | 61 | /** |
62 | * @param resourceLocation | 62 | * @param resourceLocation |
63 | - * @return | ||
64 | */ | 63 | */ |
65 | private InputStream getResourceStream(ResourceLocation resourceLocation) | 64 | private InputStream getResourceStream(ResourceLocation resourceLocation) |
66 | { | 65 | { |
java/common/com/mumfrey/liteloader/transformers/Callback.java
@@ -320,7 +320,6 @@ public class Callback | @@ -320,7 +320,6 @@ public class Callback | ||
320 | 320 | ||
321 | /** | 321 | /** |
322 | * @param obfType | 322 | * @param obfType |
323 | - * @param sb | ||
324 | * @param arg | 323 | * @param arg |
325 | */ | 324 | */ |
326 | private static String toDescriptor(int obfType, Object arg) | 325 | private static String toDescriptor(int obfType, Object arg) |
java/common/com/mumfrey/liteloader/transformers/CallbackInjectionTransformer.java
@@ -124,7 +124,6 @@ public abstract class CallbackInjectionTransformer extends ClassTransformer | @@ -124,7 +124,6 @@ public abstract class CallbackInjectionTransformer extends ClassTransformer | ||
124 | /** | 124 | /** |
125 | * @param basicClass | 125 | * @param basicClass |
126 | * @param profilerMappings | 126 | * @param profilerMappings |
127 | - * @return | ||
128 | */ | 127 | */ |
129 | private byte[] injectCallbacks(byte[] basicClass, Map<String, Callback> profilerMappings, Map<String, Callback> mappings) | 128 | private byte[] injectCallbacks(byte[] basicClass, Map<String, Callback> profilerMappings, Map<String, Callback> mappings) |
130 | { | 129 | { |
@@ -240,7 +239,6 @@ public abstract class CallbackInjectionTransformer extends ClassTransformer | @@ -240,7 +239,6 @@ public abstract class CallbackInjectionTransformer extends ClassTransformer | ||
240 | * @param classType | 239 | * @param classType |
241 | * @param methodNode | 240 | * @param methodNode |
242 | * @param callback | 241 | * @param callback |
243 | - * @return | ||
244 | */ | 242 | */ |
245 | private InsnList genCallbackInsns(String classType, MethodNode methodNode, Callback callback) | 243 | private InsnList genCallbackInsns(String classType, MethodNode methodNode, Callback callback) |
246 | { | 244 | { |
@@ -254,7 +252,6 @@ public abstract class CallbackInjectionTransformer extends ClassTransformer | @@ -254,7 +252,6 @@ public abstract class CallbackInjectionTransformer extends ClassTransformer | ||
254 | * @param methodNode | 252 | * @param methodNode |
255 | * @param callback | 253 | * @param callback |
256 | * @param returnNumber | 254 | * @param returnNumber |
257 | - * @return | ||
258 | */ | 255 | */ |
259 | private InsnList genCallbackInsns(String classType, MethodNode methodNode, Callback callback, int returnNumber) | 256 | private InsnList genCallbackInsns(String classType, MethodNode methodNode, Callback callback, int returnNumber) |
260 | { | 257 | { |
@@ -267,7 +264,6 @@ public abstract class CallbackInjectionTransformer extends ClassTransformer | @@ -267,7 +264,6 @@ public abstract class CallbackInjectionTransformer extends ClassTransformer | ||
267 | * @param methodNode | 264 | * @param methodNode |
268 | * @param callback | 265 | * @param callback |
269 | * @param returnNumber | 266 | * @param returnNumber |
270 | - * @return | ||
271 | */ | 267 | */ |
272 | private InsnList genCallbackInsns(InsnList injected, String classType, MethodNode methodNode, Callback callback, int returnNumber) | 268 | private InsnList genCallbackInsns(InsnList injected, String classType, MethodNode methodNode, Callback callback, int returnNumber) |
273 | { | 269 | { |
@@ -320,7 +316,6 @@ public abstract class CallbackInjectionTransformer extends ClassTransformer | @@ -320,7 +316,6 @@ public abstract class CallbackInjectionTransformer extends ClassTransformer | ||
320 | 316 | ||
321 | /** | 317 | /** |
322 | * @param method | 318 | * @param method |
323 | - * @return | ||
324 | */ | 319 | */ |
325 | private static String getMethodArgs(MethodNode method) | 320 | private static String getMethodArgs(MethodNode method) |
326 | { | 321 | { |
@@ -334,7 +329,6 @@ public abstract class CallbackInjectionTransformer extends ClassTransformer | @@ -334,7 +329,6 @@ public abstract class CallbackInjectionTransformer extends ClassTransformer | ||
334 | * @param invokeName | 329 | * @param invokeName |
335 | * @param invokeSig | 330 | * @param invokeSig |
336 | * @param section | 331 | * @param section |
337 | - * @return | ||
338 | */ | 332 | */ |
339 | private static String generateSignature(String className, String methodName, String methodSignature, String invokeName, String invokeSig, String section) | 333 | private static String generateSignature(String className, String methodName, String methodSignature, String invokeName, String invokeSig, String section) |
340 | { | 334 | { |
@@ -345,10 +339,7 @@ public abstract class CallbackInjectionTransformer extends ClassTransformer | @@ -345,10 +339,7 @@ public abstract class CallbackInjectionTransformer extends ClassTransformer | ||
345 | * @param className | 339 | * @param className |
346 | * @param methodName | 340 | * @param methodName |
347 | * @param methodSignature | 341 | * @param methodSignature |
348 | - * @param invokeName | ||
349 | - * @param invokeSig | ||
350 | - * @param section | ||
351 | - * @return | 342 | + * @param callbackType |
352 | */ | 343 | */ |
353 | private static String generateSignature(String className, String methodName, String methodSignature, Callback.CallbackType callbackType) | 344 | private static String generateSignature(String className, String methodName, String methodSignature, Callback.CallbackType callbackType) |
354 | { | 345 | { |
java/common/com/mumfrey/liteloader/transformers/ClassOverlayTransformer.java
@@ -95,12 +95,12 @@ public abstract class ClassOverlayTransformer extends ClassTransformer | @@ -95,12 +95,12 @@ public abstract class ClassOverlayTransformer extends ClassTransformer | ||
95 | private final String targetClassName; | 95 | private final String targetClassName; |
96 | 96 | ||
97 | /** | 97 | /** |
98 | - * Fields which get a different name from an {@link Obfuscate} annotation | 98 | + * Fields which get a different name from an {@link Obfuscated} annotation |
99 | */ | 99 | */ |
100 | private final Map<String, String> renamedFields = new HashMap<String, String>(); | 100 | private final Map<String, String> renamedFields = new HashMap<String, String>(); |
101 | 101 | ||
102 | /** | 102 | /** |
103 | - * Methods which get a different name from an {@link Obfuscate} annotation | 103 | + * Methods which get a different name from an {@link Obfuscated} annotation |
104 | */ | 104 | */ |
105 | private final Map<String, String> renamedMethods = new HashMap<String, String>(); | 105 | private final Map<String, String> renamedMethods = new HashMap<String, String>(); |
106 | 106 | ||
@@ -177,7 +177,6 @@ public abstract class ClassOverlayTransformer extends ClassTransformer | @@ -177,7 +177,6 @@ public abstract class ClassOverlayTransformer extends ClassTransformer | ||
177 | * | 177 | * |
178 | * @param transformedName | 178 | * @param transformedName |
179 | * @param basicClass | 179 | * @param basicClass |
180 | - * @return | ||
181 | */ | 180 | */ |
182 | private byte[] remapClass(String transformedName, byte[] basicClass) | 181 | private byte[] remapClass(String transformedName, byte[] basicClass) |
183 | { | 182 | { |
@@ -481,7 +480,6 @@ public abstract class ClassOverlayTransformer extends ClassTransformer | @@ -481,7 +480,6 @@ public abstract class ClassOverlayTransformer extends ClassTransformer | ||
481 | 480 | ||
482 | /** | 481 | /** |
483 | * @param transformedName | 482 | * @param transformedName |
484 | - * @return | ||
485 | * @throws InvalidOverlayException | 483 | * @throws InvalidOverlayException |
486 | */ | 484 | */ |
487 | private ClassNode loadOverlayClass(String transformedName, boolean runTransformers) | 485 | private ClassNode loadOverlayClass(String transformedName, boolean runTransformers) |
@@ -514,7 +512,6 @@ public abstract class ClassOverlayTransformer extends ClassTransformer | @@ -514,7 +512,6 @@ public abstract class ClassOverlayTransformer extends ClassTransformer | ||
514 | * | 512 | * |
515 | * @param name | 513 | * @param name |
516 | * @param basicClass | 514 | * @param basicClass |
517 | - * @return | ||
518 | */ | 515 | */ |
519 | private byte[] applyTransformers(String name, byte[] basicClass) | 516 | private byte[] applyTransformers(String name, byte[] basicClass) |
520 | { | 517 | { |
java/common/com/mumfrey/liteloader/transformers/event/Event.java
@@ -485,7 +485,6 @@ public class Event implements Comparable<Event> | @@ -485,7 +485,6 @@ public class Event implements Comparable<Event> | ||
485 | * Get an event by name (case insensitive) | 485 | * Get an event by name (case insensitive) |
486 | * | 486 | * |
487 | * @param eventName | 487 | * @param eventName |
488 | - * @return | ||
489 | */ | 488 | */ |
490 | static Event getEvent(String eventName) | 489 | static Event getEvent(String eventName) |
491 | { | 490 | { |
@@ -500,8 +499,7 @@ public class Event implements Comparable<Event> | @@ -500,8 +499,7 @@ public class Event implements Comparable<Event> | ||
500 | * Populates the event proxy class with delegating methods for all injected events | 499 | * Populates the event proxy class with delegating methods for all injected events |
501 | * | 500 | * |
502 | * @param classNode | 501 | * @param classNode |
503 | - * @param proxyIndex TODO | ||
504 | - * @return | 502 | + * @param proxyIndex |
505 | */ | 503 | */ |
506 | static ClassNode populateProxy(final ClassNode classNode, int proxyIndex) | 504 | static ClassNode populateProxy(final ClassNode classNode, int proxyIndex) |
507 | { | 505 | { |
java/common/com/mumfrey/liteloader/transformers/event/EventTransformer.java
@@ -248,7 +248,6 @@ public final class EventTransformer extends ClassTransformer | @@ -248,7 +248,6 @@ public final class EventTransformer extends ClassTransformer | ||
248 | * @param classNode | 248 | * @param classNode |
249 | * @param method | 249 | * @param method |
250 | * @param methodInjections | 250 | * @param methodInjections |
251 | - * @return | ||
252 | */ | 251 | */ |
253 | private Map<AbstractInsnNode, Injection> findInjectionPoints(ClassNode classNode, MethodNode method, Map<Event, InjectionPoint> methodInjections) | 252 | private Map<AbstractInsnNode, Injection> findInjectionPoints(ClassNode classNode, MethodNode method, Map<Event, InjectionPoint> methodInjections) |
254 | { | 253 | { |
java/common/com/mumfrey/liteloader/transformers/event/inject/BeforeInvoke.java
@@ -313,7 +313,6 @@ public class BeforeInvoke extends InjectionPoint | @@ -313,7 +313,6 @@ public class BeforeInvoke extends InjectionPoint | ||
313 | * | 313 | * |
314 | * @param haystack | 314 | * @param haystack |
315 | * @param needle | 315 | * @param needle |
316 | - * @return | ||
317 | */ | 316 | */ |
318 | private static int arrayIndexOf(String[] haystack, String needle, int pos) | 317 | private static int arrayIndexOf(String[] haystack, String needle, int pos) |
319 | { | 318 | { |
java/common/com/mumfrey/liteloader/transformers/event/json/JsonEvents.java
@@ -91,7 +91,6 @@ public class JsonEvents implements Serializable | @@ -91,7 +91,6 @@ public class JsonEvents implements Serializable | ||
91 | * Parse a token name, returns the token name as a string if the token is valid, or null if the token is not valid | 91 | * Parse a token name, returns the token name as a string if the token is valid, or null if the token is not valid |
92 | * | 92 | * |
93 | * @param token | 93 | * @param token |
94 | - * @return | ||
95 | */ | 94 | */ |
96 | static String parseToken(String token) | 95 | static String parseToken(String token) |
97 | { | 96 | { |
java/common/com/mumfrey/liteloader/update/UpdateSite.java
@@ -355,7 +355,6 @@ public class UpdateSite implements Comparator<Long> | @@ -355,7 +355,6 @@ public class UpdateSite implements Comparator<Long> | ||
355 | * @param artefact | 355 | * @param artefact |
356 | * @param bestTimeStamp | 356 | * @param bestTimeStamp |
357 | * @param checkOnly | 357 | * @param checkOnly |
358 | - * @return | ||
359 | */ | 358 | */ |
360 | private boolean checkAndUseRemoteArtefact(Map<?, ?> artefact, long bestTimeStamp, boolean checkOnly) | 359 | private boolean checkAndUseRemoteArtefact(Map<?, ?> artefact, long bestTimeStamp, boolean checkOnly) |
361 | { | 360 | { |
@@ -382,7 +381,6 @@ public class UpdateSite implements Comparator<Long> | @@ -382,7 +381,6 @@ public class UpdateSite implements Comparator<Long> | ||
382 | /** | 381 | /** |
383 | * @param bestTimeStamp | 382 | * @param bestTimeStamp |
384 | * @param remoteTimeStamp | 383 | * @param remoteTimeStamp |
385 | - * @return | ||
386 | */ | 384 | */ |
387 | private boolean compareTimeStamps(long bestTimeStamp, Long remoteTimeStamp) | 385 | private boolean compareTimeStamps(long bestTimeStamp, Long remoteTimeStamp) |
388 | { | 386 | { |
@@ -391,7 +389,6 @@ public class UpdateSite implements Comparator<Long> | @@ -391,7 +389,6 @@ public class UpdateSite implements Comparator<Long> | ||
391 | 389 | ||
392 | /** | 390 | /** |
393 | * @param file | 391 | * @param file |
394 | - * @return | ||
395 | */ | 392 | */ |
396 | private String createArtefactURL(String file) | 393 | private String createArtefactURL(String file) |
397 | { | 394 | { |
java/common/com/mumfrey/liteloader/util/Input.java
@@ -308,7 +308,6 @@ public final class Input implements CoreProvider | @@ -308,7 +308,6 @@ public final class Input implements CoreProvider | ||
308 | * @param controller | 308 | * @param controller |
309 | * @param component | 309 | * @param component |
310 | * @param handler | 310 | * @param handler |
311 | - * @return | ||
312 | */ | 311 | */ |
313 | private InputEvent addEventHandler(Controller controller, Component component, InputHandler handler) | 312 | private InputEvent addEventHandler(Controller controller, Component component, InputHandler handler) |
314 | { | 313 | { |
@@ -336,7 +335,7 @@ public final class Input implements CoreProvider | @@ -336,7 +335,7 @@ public final class Input implements CoreProvider | ||
336 | } | 335 | } |
337 | 336 | ||
338 | /** | 337 | /** |
339 | - * @return | 338 | + * |
340 | */ | 339 | */ |
341 | private Set<Controller> getActiveControllers() | 340 | private Set<Controller> getActiveControllers() |
342 | { | 341 | { |
java/common/com/mumfrey/liteloader/util/InputEvent.java
@@ -49,7 +49,6 @@ public class InputEvent | @@ -49,7 +49,6 @@ public class InputEvent | ||
49 | * Link this delegate to the specified delegate and return the start of the delegate chain | 49 | * Link this delegate to the specified delegate and return the start of the delegate chain |
50 | * | 50 | * |
51 | * @param chain delegate to link to (will be null if the chain is empty) | 51 | * @param chain delegate to link to (will be null if the chain is empty) |
52 | - * @return | ||
53 | */ | 52 | */ |
54 | InputEvent link(InputEvent chain) | 53 | InputEvent link(InputEvent chain) |
55 | { | 54 | { |
@@ -61,7 +60,6 @@ public class InputEvent | @@ -61,7 +60,6 @@ public class InputEvent | ||
61 | * Append specified delegate to the end of the delegate chain | 60 | * Append specified delegate to the end of the delegate chain |
62 | * | 61 | * |
63 | * @param delegate | 62 | * @param delegate |
64 | - * @return | ||
65 | */ | 63 | */ |
66 | private InputEvent append(InputEvent delegate) | 64 | private InputEvent append(InputEvent delegate) |
67 | { | 65 | { |