Correct comments (revert aggressive renaming effects).

This commit is contained in:
asofold 2012-11-09 15:04:13 +01:00
parent 4120ca9bd7
commit d36cbe787a
3 changed files with 6 additions and 6 deletions

View File

@ -53,7 +53,7 @@ public class NameSetPermState implements PermStateReceiver{
@Override @Override
public void removePlayer(final String player) { 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<Entry<String, Set<String>>> it = playerSets.entrySet().iterator(); final Iterator<Entry<String, Set<String>>> it = playerSets.entrySet().iterator();
while (it.hasNext()){ while (it.hasNext()){
final Entry<String, Set<String>> entry = it.next(); final Entry<String, Set<String>> entry = it.next();

View File

@ -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.<br> * Permission cache. Allow to query permissions (a defined set of permissions), to be registered and automatically be updated, according to registry.<br>
* The defaultPermissions are not updated in real time but on certain events, to be specified by the registry. * The permissions are not updated in real time but on certain events, to be specified by the registry.
* *
* @author mc_dev * @author mc_dev
* *
@ -11,13 +11,13 @@ package fr.neatmonster.nocheatplus.components;
public interface PermStateHolder { 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 * @return
*/ */
public String[] getDefaultPermissions(); 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 player
* @param permission * @param permission
* @return * @return

View File

@ -3,7 +3,7 @@ package fr.neatmonster.nocheatplus.components;
/** /**
* Receive permission changes for certain defaultPermissions. * Receive permission changes for certain permissions.
* @author mc_dev * @author mc_dev
* *
*/ */