mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-11-06 18:50:54 +01:00
Correct comments (revert aggressive renaming effects).
This commit is contained in:
parent
4120ca9bd7
commit
d36cbe787a
@ -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<Entry<String, Set<String>>> it = playerSets.entrySet().iterator();
|
||||
while (it.hasNext()){
|
||||
final Entry<String, Set<String>> entry = it.next();
|
||||
|
@ -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>
|
||||
* 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.<br>
|
||||
* 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
|
||||
|
@ -3,7 +3,7 @@ package fr.neatmonster.nocheatplus.components;
|
||||
|
||||
|
||||
/**
|
||||
* Receive permission changes for certain defaultPermissions.
|
||||
* Receive permission changes for certain permissions.
|
||||
* @author mc_dev
|
||||
*
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user