From 55e373bb31b75fc6936f06e9852c3b22cc05b3bc Mon Sep 17 00:00:00 2001 From: thatsIch Date: Sat, 26 Sep 2015 23:31:17 +0200 Subject: [PATCH] Javadoc issues --- .../appeng/core/stats/PlayerStatsRegistration.java | 2 -- .../parts/automation/PartAnnihilationPlane.java | 4 ---- src/main/java/appeng/util/IWorldCallable.java | 11 +++++++---- 3 files changed, 7 insertions(+), 10 deletions(-) diff --git a/src/main/java/appeng/core/stats/PlayerStatsRegistration.java b/src/main/java/appeng/core/stats/PlayerStatsRegistration.java index 1cf1f141..fc72b7d7 100644 --- a/src/main/java/appeng/core/stats/PlayerStatsRegistration.java +++ b/src/main/java/appeng/core/stats/PlayerStatsRegistration.java @@ -45,8 +45,6 @@ public class PlayerStatsRegistration /** * is true if the {@link appeng.core.features.AEFeature#Achievements} is enabled in the - * - * @param config} */ private final boolean isAchievementFeatureEnabled; diff --git a/src/main/java/appeng/parts/automation/PartAnnihilationPlane.java b/src/main/java/appeng/parts/automation/PartAnnihilationPlane.java index 54db03b3..e69c22b3 100644 --- a/src/main/java/appeng/parts/automation/PartAnnihilationPlane.java +++ b/src/main/java/appeng/parts/automation/PartAnnihilationPlane.java @@ -364,10 +364,6 @@ public class PartAnnihilationPlane extends PartBasicState implements IGridTickab /** * Spawns an overflow item as new {@link EntityItem} into the {@link World} * - * @param w the world to spawn it - * @param x x coordinate - * @param y y coordinate - * @param z coordinate * @param overflow the item to spawn */ private void spawnOverflow( final IAEItemStack overflow ) diff --git a/src/main/java/appeng/util/IWorldCallable.java b/src/main/java/appeng/util/IWorldCallable.java index ecbd3efd..266f0625 100644 --- a/src/main/java/appeng/util/IWorldCallable.java +++ b/src/main/java/appeng/util/IWorldCallable.java @@ -29,9 +29,9 @@ import net.minecraft.world.World; /** * An interface similar to {@link Callable}, but allowing to pass the {@link World} when calling. * - * @see Callable * @author yueh * @version rv3 + * @see Callable * @since rv3 */ public interface IWorldCallable @@ -39,10 +39,13 @@ public interface IWorldCallable /** * Similar to {@link Callable#call()} * + * @param world this param is given to not hold a reference to the world but let the caller handle it. Do not expect a world here thus can be + * null. + * + * @return result of call on the world. Can be null. + * + * @throws Exception if the call fails * @see Callable#call() - * @param world - * @return - * @throws Exception */ @Nullable T call( @Nullable World world ) throws Exception;