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
java/client/com/mumfrey/liteloader/client/LiteLoaderEventBrokerClient.java
| ... | ... | @@ -278,8 +278,8 @@ public class LiteLoaderEventBrokerClient extends LiteLoaderEventBroker<Minecraft |
| 278 | 278 | /** |
| 279 | 279 | * Callback from the tick hook, post render entities |
| 280 | 280 | * |
| 281 | + * @param partialTicks | |
| 281 | 282 | * @param timeSlice |
| 282 | - * @param partialTicks2 | |
| 283 | 283 | */ |
| 284 | 284 | void postRenderEntities(float partialTicks, long timeSlice) |
| 285 | 285 | { |
| ... | ... | @@ -289,8 +289,8 @@ public class LiteLoaderEventBrokerClient extends LiteLoaderEventBroker<Minecraft |
| 289 | 289 | /** |
| 290 | 290 | * Callback from the tick hook, post render |
| 291 | 291 | * |
| 292 | + * @param partialTicks | |
| 292 | 293 | * @param timeSlice |
| 293 | - * @param partialTicks2 | |
| 294 | 294 | */ |
| 295 | 295 | void postRender(float partialTicks, long timeSlice) |
| 296 | 296 | { |
| ... | ... | @@ -366,8 +366,6 @@ public class LiteLoaderEventBrokerClient extends LiteLoaderEventBroker<Minecraft |
| 366 | 366 | |
| 367 | 367 | /** |
| 368 | 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 | 370 | void onTick() |
| 373 | 371 | { | ... | ... |
java/client/com/mumfrey/liteloader/client/gui/GuiLiteLoaderPanel.java
| ... | ... | @@ -631,7 +631,6 @@ public class GuiLiteLoaderPanel extends GuiScreen |
| 631 | 631 | /** |
| 632 | 632 | * @param partialTicks |
| 633 | 633 | * @param active |
| 634 | - * @return | |
| 635 | 634 | */ |
| 636 | 635 | private float calcTween(float partialTicks, boolean active) |
| 637 | 636 | { |
| ... | ... | @@ -764,10 +763,10 @@ public class GuiLiteLoaderPanel extends GuiScreen |
| 764 | 763 | } |
| 765 | 764 | |
| 766 | 765 | /** |
| 767 | - * @param resource | |
| 768 | 766 | * @param x |
| 769 | 767 | * @param y |
| 770 | 768 | * @param icon |
| 769 | + * @param alpha | |
| 771 | 770 | */ |
| 772 | 771 | static void glDrawTexturedRect(int x, int y, Icon icon, float alpha) |
| 773 | 772 | { | ... | ... |
java/client/com/mumfrey/liteloader/client/gui/GuiPanel.java
java/client/com/mumfrey/liteloader/client/gui/GuiPanelConfigContainer.java
| ... | ... | @@ -39,7 +39,6 @@ class GuiPanelConfigContainer extends GuiPanel implements ConfigPanelHost |
| 39 | 39 | private int totalHeight = -1; |
| 40 | 40 | |
| 41 | 41 | /** |
| 42 | - * @param parent | |
| 43 | 42 | * @param minecraft |
| 44 | 43 | * @param panel |
| 45 | 44 | * @param mod |
| ... | ... | @@ -53,7 +52,7 @@ class GuiPanelConfigContainer extends GuiPanel implements ConfigPanelHost |
| 53 | 52 | } |
| 54 | 53 | |
| 55 | 54 | /** |
| 56 | - * @return | |
| 55 | + * | |
| 57 | 56 | */ |
| 58 | 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 | 54 | private int debugInfoTimer = 0; |
| 55 | 55 | |
| 56 | 56 | /** |
| 57 | - * @param parent | |
| 58 | 57 | * @param minecraft |
| 59 | - * @param panel | |
| 60 | - * @param mod | |
| 58 | + * @param parent | |
| 61 | 59 | */ |
| 62 | 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 | 69 | |
| 70 | 70 | /** |
| 71 | 71 | * Mod list entry for an ACTIVE mod |
| 72 | + * | |
| 73 | + * @param mods | |
| 74 | + * @param environment | |
| 72 | 75 | * @param fontRenderer |
| 76 | + * @param brandColour | |
| 77 | + * @param decorators | |
| 73 | 78 | * @param modInfo |
| 74 | - * @param enabledMods | |
| 75 | 79 | */ |
| 76 | 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
java/client/com/mumfrey/liteloader/client/transformers/LiteLoaderEventInjectionTransformer.java
| ... | ... | @@ -118,14 +118,6 @@ public class LiteLoaderEventInjectionTransformer extends EventInjectionTransform |
| 118 | 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 | 121 | private Event add(Event event, MethodInfo targetMethod, InjectionPoint injectionPoint, String callback, Obf proxy) |
| 130 | 122 | { |
| 131 | 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 | 71 | |
| 72 | 72 | /** |
| 73 | 73 | * @param apiClassName |
| 74 | - * @return | |
| 75 | 74 | */ |
| 76 | 75 | private LiteAPI spawnAPI(String apiClassName) |
| 77 | 76 | { |
| ... | ... | @@ -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 | 112 | private LiteAPI[] getAllAPIs() |
| 114 | 113 | { | ... | ... |
java/common/com/mumfrey/liteloader/core/EnabledModsList.java
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 | 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 | 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 | 426 | * Get the properties stream either from the jar or from the properties file |
| 427 | 427 | * in the minecraft folder |
| 428 | 428 | * |
| 429 | - * @return | |
| 430 | 429 | * @throws FileNotFoundException |
| 431 | 430 | */ |
| 432 | 431 | private InputStream getLocalPropertiesStream() throws FileNotFoundException | ... | ... |
java/common/com/mumfrey/liteloader/core/LiteLoaderEnumerator.java
| ... | ... | @@ -143,7 +143,6 @@ public class LiteLoaderEnumerator implements LoaderEnumerator |
| 143 | 143 | |
| 144 | 144 | /** |
| 145 | 145 | * @param environment |
| 146 | - * @return | |
| 147 | 146 | */ |
| 148 | 147 | private String[] getSupportedPrefixes(LoaderEnvironment environment) |
| 149 | 148 | { |
| ... | ... | @@ -308,7 +307,6 @@ public class LiteLoaderEnumerator implements LoaderEnumerator |
| 308 | 307 | |
| 309 | 308 | /** |
| 310 | 309 | * @param identifier |
| 311 | - * @return | |
| 312 | 310 | */ |
| 313 | 311 | private LoadableMod<?> getContainerById(String identifier) |
| 314 | 312 | { |
| ... | ... | @@ -329,7 +327,6 @@ public class LiteLoaderEnumerator implements LoaderEnumerator |
| 329 | 327 | |
| 330 | 328 | /** |
| 331 | 329 | * @param modClass |
| 332 | - * @return | |
| 333 | 330 | */ |
| 334 | 331 | private LoadableMod<?> getContainerForMod(Class<? extends LiteMod> modClass) |
| 335 | 332 | { |
| ... | ... | @@ -671,7 +668,6 @@ public class LiteLoaderEnumerator implements LoaderEnumerator |
| 671 | 668 | * class |
| 672 | 669 | * |
| 673 | 670 | * @param superClass |
| 674 | - * @return | |
| 675 | 671 | */ |
| 676 | 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 | 93 | /** |
| 94 | 94 | * @param provider |
| 95 | 95 | * @param interfaceType |
| 96 | - * @return | |
| 97 | 96 | */ |
| 98 | 97 | @SuppressWarnings("unchecked") |
| 99 | 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 | 399 | |
| 400 | 400 | /** |
| 401 | 401 | * Create mod instances from the enumerated classes |
| 402 | - * | |
| 403 | - * @param modsToLoad List of mods to load | |
| 404 | 402 | */ |
| 405 | 403 | void loadMods() |
| 406 | 404 | { |
| ... | ... | @@ -651,7 +649,6 @@ public class LiteLoaderMods |
| 651 | 649 | * for inclusion in the properties file |
| 652 | 650 | * |
| 653 | 651 | * @param modName |
| 654 | - * @return | |
| 655 | 652 | */ |
| 656 | 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
java/common/com/mumfrey/liteloader/core/ServerPluginChannels.java
| ... | ... | @@ -72,10 +72,6 @@ public class ServerPluginChannels extends PluginChannels<ServerPluginChannelList |
| 72 | 72 | super.addPluginChannelListener(pluginChannelListener); |
| 73 | 73 | } |
| 74 | 74 | |
| 75 | - /** | |
| 76 | - * @param netHandler | |
| 77 | - * @param loginPacket | |
| 78 | - */ | |
| 79 | 75 | void onServerStartup() |
| 80 | 76 | { |
| 81 | 77 | this.clearPluginChannels(null); |
| ... | ... | @@ -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 | 86 | void onPlayerJoined(EntityPlayerMP player) |
| 95 | 87 | { |
| 96 | 88 | this.sendRegisteredPluginChannels(player); |
| ... | ... | @@ -190,7 +182,7 @@ public class ServerPluginChannels extends PluginChannels<ServerPluginChannelList |
| 190 | 182 | } |
| 191 | 183 | |
| 192 | 184 | /** |
| 193 | - * @param netHandler | |
| 185 | + * @param recipient | |
| 194 | 186 | * @param registrationData |
| 195 | 187 | */ |
| 196 | 188 | private void sendRegistrationData(EntityPlayerMP recipient, PacketBuffer registrationData) |
| ... | ... | @@ -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 | 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 | 240 | return this.getMetaValue(descriptionKey, this.getMetaValue("description", "")); |
| 241 | 241 | } |
| 242 | 242 | |
| 243 | - /** | |
| 244 | - * @return | |
| 245 | - */ | |
| 246 | 243 | private String compileMissingAPIList() |
| 247 | 244 | { |
| 248 | 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 | 596 | |
| 597 | 597 | /** |
| 598 | 598 | * @param type |
| 599 | - * @param size | |
| 599 | + * @param logicOp | |
| 600 | 600 | */ |
| 601 | 601 | HandlerListClassLoader(Class<T> type, ReturnLogicOp logicOp) |
| 602 | 602 | { |
| ... | ... | @@ -995,7 +995,6 @@ public class HandlerList<T> extends LinkedList<T> implements FastIterableDeque<T |
| 995 | 995 | /** |
| 996 | 996 | * @param baseName |
| 997 | 997 | * @param typeName |
| 998 | - * @return | |
| 999 | 998 | */ |
| 1000 | 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 | 1003 | |
| 1005 | 1004 | /** |
| 1006 | 1005 | * @param name |
| 1007 | - * @return | |
| 1008 | 1006 | * @throws IOException |
| 1009 | 1007 | */ |
| 1010 | 1008 | private static byte[] getInterfaceBytes(String name) throws IOException | ... | ... |
java/common/com/mumfrey/liteloader/launch/ClassPathUtilities.java
java/common/com/mumfrey/liteloader/launch/LiteLoaderTweaker.java
| ... | ... | @@ -275,10 +275,10 @@ public class LiteLoaderTweaker implements ITweaker |
| 275 | 275 | } |
| 276 | 276 | |
| 277 | 277 | /** |
| 278 | + * @param args | |
| 278 | 279 | * @param gameDirectory |
| 279 | 280 | * @param assetsDirectory |
| 280 | 281 | * @param profile |
| 281 | - * @param apisToLoad | |
| 282 | 282 | */ |
| 283 | 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 | 554 | |
| 555 | 555 | /** |
| 556 | 556 | * @param clazz |
| 557 | - * @return | |
| 558 | 557 | */ |
| 559 | 558 | @SuppressWarnings("unchecked") |
| 560 | 559 | private static boolean isTweakAlreadyEnqueued(String clazz) | ... | ... |
java/common/com/mumfrey/liteloader/messaging/MessageBus.java
java/common/com/mumfrey/liteloader/modconfig/ExposableConfigWriter.java
| ... | ... | @@ -269,7 +269,6 @@ public final class ExposableConfigWriter implements InstanceCreator<Exposable> |
| 269 | 269 | * @param exposable |
| 270 | 270 | * @param strategy |
| 271 | 271 | * @param fileName |
| 272 | - * @return | |
| 273 | 272 | */ |
| 274 | 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 | 163 | * Register a new client mod with this manager |
| 164 | 164 | * |
| 165 | 165 | * @param modName Mod name |
| 166 | - * @param modVersion Mod version | |
| 166 | + * @param mod Mod instance | |
| 167 | 167 | */ |
| 168 | 168 | private void registerClientMod(String modName, Permissible mod) |
| 169 | 169 | { | ... | ... |
java/common/com/mumfrey/liteloader/resources/InternalResourcePack.java
java/common/com/mumfrey/liteloader/transformers/Callback.java
java/common/com/mumfrey/liteloader/transformers/CallbackInjectionTransformer.java
| ... | ... | @@ -124,7 +124,6 @@ public abstract class CallbackInjectionTransformer extends ClassTransformer |
| 124 | 124 | /** |
| 125 | 125 | * @param basicClass |
| 126 | 126 | * @param profilerMappings |
| 127 | - * @return | |
| 128 | 127 | */ |
| 129 | 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 | 239 | * @param classType |
| 241 | 240 | * @param methodNode |
| 242 | 241 | * @param callback |
| 243 | - * @return | |
| 244 | 242 | */ |
| 245 | 243 | private InsnList genCallbackInsns(String classType, MethodNode methodNode, Callback callback) |
| 246 | 244 | { |
| ... | ... | @@ -254,7 +252,6 @@ public abstract class CallbackInjectionTransformer extends ClassTransformer |
| 254 | 252 | * @param methodNode |
| 255 | 253 | * @param callback |
| 256 | 254 | * @param returnNumber |
| 257 | - * @return | |
| 258 | 255 | */ |
| 259 | 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 | 264 | * @param methodNode |
| 268 | 265 | * @param callback |
| 269 | 266 | * @param returnNumber |
| 270 | - * @return | |
| 271 | 267 | */ |
| 272 | 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 | 316 | |
| 321 | 317 | /** |
| 322 | 318 | * @param method |
| 323 | - * @return | |
| 324 | 319 | */ |
| 325 | 320 | private static String getMethodArgs(MethodNode method) |
| 326 | 321 | { |
| ... | ... | @@ -334,7 +329,6 @@ public abstract class CallbackInjectionTransformer extends ClassTransformer |
| 334 | 329 | * @param invokeName |
| 335 | 330 | * @param invokeSig |
| 336 | 331 | * @param section |
| 337 | - * @return | |
| 338 | 332 | */ |
| 339 | 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 | 339 | * @param className |
| 346 | 340 | * @param methodName |
| 347 | 341 | * @param methodSignature |
| 348 | - * @param invokeName | |
| 349 | - * @param invokeSig | |
| 350 | - * @param section | |
| 351 | - * @return | |
| 342 | + * @param callbackType | |
| 352 | 343 | */ |
| 353 | 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 | 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 | 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 | 105 | private final Map<String, String> renamedMethods = new HashMap<String, String>(); |
| 106 | 106 | |
| ... | ... | @@ -177,7 +177,6 @@ public abstract class ClassOverlayTransformer extends ClassTransformer |
| 177 | 177 | * |
| 178 | 178 | * @param transformedName |
| 179 | 179 | * @param basicClass |
| 180 | - * @return | |
| 181 | 180 | */ |
| 182 | 181 | private byte[] remapClass(String transformedName, byte[] basicClass) |
| 183 | 182 | { |
| ... | ... | @@ -481,7 +480,6 @@ public abstract class ClassOverlayTransformer extends ClassTransformer |
| 481 | 480 | |
| 482 | 481 | /** |
| 483 | 482 | * @param transformedName |
| 484 | - * @return | |
| 485 | 483 | * @throws InvalidOverlayException |
| 486 | 484 | */ |
| 487 | 485 | private ClassNode loadOverlayClass(String transformedName, boolean runTransformers) |
| ... | ... | @@ -514,7 +512,6 @@ public abstract class ClassOverlayTransformer extends ClassTransformer |
| 514 | 512 | * |
| 515 | 513 | * @param name |
| 516 | 514 | * @param basicClass |
| 517 | - * @return | |
| 518 | 515 | */ |
| 519 | 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 | 485 | * Get an event by name (case insensitive) |
| 486 | 486 | * |
| 487 | 487 | * @param eventName |
| 488 | - * @return | |
| 489 | 488 | */ |
| 490 | 489 | static Event getEvent(String eventName) |
| 491 | 490 | { |
| ... | ... | @@ -500,8 +499,7 @@ public class Event implements Comparable<Event> |
| 500 | 499 | * Populates the event proxy class with delegating methods for all injected events |
| 501 | 500 | * |
| 502 | 501 | * @param classNode |
| 503 | - * @param proxyIndex TODO | |
| 504 | - * @return | |
| 502 | + * @param proxyIndex | |
| 505 | 503 | */ |
| 506 | 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 | 248 | * @param classNode |
| 249 | 249 | * @param method |
| 250 | 250 | * @param methodInjections |
| 251 | - * @return | |
| 252 | 251 | */ |
| 253 | 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
java/common/com/mumfrey/liteloader/transformers/event/json/JsonEvents.java
| ... | ... | @@ -91,7 +91,6 @@ public class JsonEvents implements Serializable |
| 91 | 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 | 93 | * @param token |
| 94 | - * @return | |
| 95 | 94 | */ |
| 96 | 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 | 355 | * @param artefact |
| 356 | 356 | * @param bestTimeStamp |
| 357 | 357 | * @param checkOnly |
| 358 | - * @return | |
| 359 | 358 | */ |
| 360 | 359 | private boolean checkAndUseRemoteArtefact(Map<?, ?> artefact, long bestTimeStamp, boolean checkOnly) |
| 361 | 360 | { |
| ... | ... | @@ -382,7 +381,6 @@ public class UpdateSite implements Comparator<Long> |
| 382 | 381 | /** |
| 383 | 382 | * @param bestTimeStamp |
| 384 | 383 | * @param remoteTimeStamp |
| 385 | - * @return | |
| 386 | 384 | */ |
| 387 | 385 | private boolean compareTimeStamps(long bestTimeStamp, Long remoteTimeStamp) |
| 388 | 386 | { |
| ... | ... | @@ -391,7 +389,6 @@ public class UpdateSite implements Comparator<Long> |
| 391 | 389 | |
| 392 | 390 | /** |
| 393 | 391 | * @param file |
| 394 | - * @return | |
| 395 | 392 | */ |
| 396 | 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 | 308 | * @param controller |
| 309 | 309 | * @param component |
| 310 | 310 | * @param handler |
| 311 | - * @return | |
| 312 | 311 | */ |
| 313 | 312 | private InputEvent addEventHandler(Controller controller, Component component, InputHandler handler) |
| 314 | 313 | { |
| ... | ... | @@ -336,7 +335,7 @@ public final class Input implements CoreProvider |
| 336 | 335 | } |
| 337 | 336 | |
| 338 | 337 | /** |
| 339 | - * @return | |
| 338 | + * | |
| 340 | 339 | */ |
| 341 | 340 | private Set<Controller> getActiveControllers() |
| 342 | 341 | { | ... | ... |
java/common/com/mumfrey/liteloader/util/InputEvent.java
| ... | ... | @@ -49,7 +49,6 @@ public class InputEvent |
| 49 | 49 | * Link this delegate to the specified delegate and return the start of the delegate chain |
| 50 | 50 | * |
| 51 | 51 | * @param chain delegate to link to (will be null if the chain is empty) |
| 52 | - * @return | |
| 53 | 52 | */ |
| 54 | 53 | InputEvent link(InputEvent chain) |
| 55 | 54 | { |
| ... | ... | @@ -61,7 +60,6 @@ public class InputEvent |
| 61 | 60 | * Append specified delegate to the end of the delegate chain |
| 62 | 61 | * |
| 63 | 62 | * @param delegate |
| 64 | - * @return | |
| 65 | 63 | */ |
| 66 | 64 | private InputEvent append(InputEvent delegate) |
| 67 | 65 | { | ... | ... |