Remove the old Vault group management system. (THIS COMMIT BREAKS THE COMPILATION)

This commit is contained in:
Gabriele C
2015-11-21 20:16:07 +01:00
parent 579b7e7b97
commit 579c51f4a2
6 changed files with 7 additions and 42 deletions
@@ -560,7 +560,6 @@ public class PermissionsManager {
* @return True if succeed, false otherwise.
* False is also returned if this feature isn't supported for the current permissions system.
*/
@SuppressWarnings({"unchecked", "rawtypes", "deprecation"})
public boolean addGroup(Player player, String groupName) {
// If no permissions system is used, return false
if(!isEnabled())
@@ -623,7 +622,6 @@ public class PermissionsManager {
* @return True if succeed, false otherwise.
* False is also returned if this feature isn't supported for the current permissions system.
*/
@SuppressWarnings({"unchecked", "rawtypes", "deprecation"})
public boolean addGroups(Player player, List<String> groupNames) {
// If no permissions system is used, return false
if(!isEnabled())
@@ -648,7 +646,6 @@ public class PermissionsManager {
* @return True if succeed, false otherwise.
* False is also returned if this feature isn't supported for the current permissions system.
*/
@SuppressWarnings({"unchecked", "rawtypes", "deprecation"})
public boolean removeGroup(Player player, String groupName) {
// If no permissions system is used, return false
if(!isEnabled())
@@ -711,7 +708,6 @@ public class PermissionsManager {
* @return True if succeed, false otherwise.
* False is also returned if this feature isn't supported for the current permissions system.
*/
@SuppressWarnings({"unchecked", "rawtypes", "deprecation"})
public boolean removeGroups(Player player, List<String> groupNames) {
// If no permissions system is used, return false
if(!isEnabled())
@@ -737,7 +733,6 @@ public class PermissionsManager {
* @return True if succeed, false otherwise.
* False is also returned if this feature isn't supported for the current permissions system.
*/
@SuppressWarnings({"unchecked", "rawtypes", "deprecation"})
public boolean setGroup(Player player, String groupName) {
// If no permissions system is used, return false
if(!isEnabled())
@@ -808,7 +803,6 @@ public class PermissionsManager {
* @return True if succeed, false otherwise.
* False is also returned if this feature isn't supported for the current permissions system.
*/
@SuppressWarnings({"unchecked", "rawtypes", "deprecation"})
public boolean setGroups(Player player, List<String> groupNames) {
// If no permissions system is used or if there's no group supplied, return false
if(!isEnabled() || groupNames.size() <= 0)