From 875b9f326c44063a7f022980fcc4f44a2eaa8cf5 Mon Sep 17 00:00:00 2001 From: TomyLobo Date: Mon, 5 Dec 2011 06:03:52 +0100 Subject: [PATCH] Removed deprecation of RegionManager.getApplicableRegions. The underlying functionality has since been implemented. Also: woo, no more warnings --- .../sk89q/worldguard/bukkit/commands/ProtectionCommands.java | 1 + .../com/sk89q/worldguard/protection/managers/RegionManager.java | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/com/sk89q/worldguard/bukkit/commands/ProtectionCommands.java b/src/main/java/com/sk89q/worldguard/bukkit/commands/ProtectionCommands.java index ee6bcba8..1ca1f9f7 100644 --- a/src/main/java/com/sk89q/worldguard/bukkit/commands/ProtectionCommands.java +++ b/src/main/java/com/sk89q/worldguard/bukkit/commands/ProtectionCommands.java @@ -27,6 +27,7 @@ import com.sk89q.worldguard.bukkit.WorldGuardPlugin; public class ProtectionCommands { + @SuppressWarnings("unused") private final WorldGuardPlugin plugin; public ProtectionCommands(WorldGuardPlugin plugin) { diff --git a/src/main/java/com/sk89q/worldguard/protection/managers/RegionManager.java b/src/main/java/com/sk89q/worldguard/protection/managers/RegionManager.java index 0ba95651..cf3b7125 100644 --- a/src/main/java/com/sk89q/worldguard/protection/managers/RegionManager.java +++ b/src/main/java/com/sk89q/worldguard/protection/managers/RegionManager.java @@ -140,11 +140,9 @@ public ApplicableRegionSet getApplicableRegions(org.bukkit.Location loc) { * Get an object for a point for rules to be applied with. This gets * a set for the given reason. * - * @deprecated not yet fully supported * @param region region * @return regino set */ - @Deprecated public abstract ApplicableRegionSet getApplicableRegions( ProtectedRegion region);