From d36cbe787a336eccd4ce43270ff1d308c5b82ace Mon Sep 17 00:00:00 2001 From: asofold Date: Fri, 9 Nov 2012 15:04:13 +0100 Subject: [PATCH] Correct comments (revert aggressive renaming effects). --- .../nocheatplus/components/NameSetPermState.java | 2 +- .../nocheatplus/components/PermStateHolder.java | 8 ++++---- .../nocheatplus/components/PermStateReceiver.java | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/fr/neatmonster/nocheatplus/components/NameSetPermState.java b/src/fr/neatmonster/nocheatplus/components/NameSetPermState.java index 6b6d8682..1ed998f6 100644 --- a/src/fr/neatmonster/nocheatplus/components/NameSetPermState.java +++ b/src/fr/neatmonster/nocheatplus/components/NameSetPermState.java @@ -53,7 +53,7 @@ public class NameSetPermState implements PermStateReceiver{ @Override public void removePlayer(final String player) { - // TODO: Something more efficient ? [mostly used with few defaultPermissions, though]. + // TODO: Something more efficient ? [mostly used with few permissions, though]. final Iterator>> it = playerSets.entrySet().iterator(); while (it.hasNext()){ final Entry> entry = it.next(); diff --git a/src/fr/neatmonster/nocheatplus/components/PermStateHolder.java b/src/fr/neatmonster/nocheatplus/components/PermStateHolder.java index a904d423..47f614a4 100644 --- a/src/fr/neatmonster/nocheatplus/components/PermStateHolder.java +++ b/src/fr/neatmonster/nocheatplus/components/PermStateHolder.java @@ -2,8 +2,8 @@ package fr.neatmonster.nocheatplus.components; /** - * Permission cache. Allow to query defaultPermissions (a defined set of defaultPermissions), to be registered and automatically be updated, according to registry.
- * The defaultPermissions are not updated in real time but on certain events, to be specified by the registry. + * Permission cache. Allow to query permissions (a defined set of permissions), to be registered and automatically be updated, according to registry.
+ * The permissions are not updated in real time but on certain events, to be specified by the registry. * * @author mc_dev * @@ -11,13 +11,13 @@ package fr.neatmonster.nocheatplus.components; public interface PermStateHolder { /** - * Get the defaultPermissions that are guaranteed to be held here. + * Get the default permissions that are guaranteed to be held here. * @return */ public String[] getDefaultPermissions(); /** - * Test a permission. If not available the result will be false, no updating of defaultPermissions is expected on calling this. + * Test a permission. If not available the result will be false, no updating of permissions is expected on calling this. * @param player * @param permission * @return diff --git a/src/fr/neatmonster/nocheatplus/components/PermStateReceiver.java b/src/fr/neatmonster/nocheatplus/components/PermStateReceiver.java index b96c50a6..8046664c 100644 --- a/src/fr/neatmonster/nocheatplus/components/PermStateReceiver.java +++ b/src/fr/neatmonster/nocheatplus/components/PermStateReceiver.java @@ -3,7 +3,7 @@ package fr.neatmonster.nocheatplus.components; /** - * Receive permission changes for certain defaultPermissions. + * Receive permission changes for certain permissions. * @author mc_dev * */