mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2025-06-29 03:36:42 +00:00
Fixes for Codacy;
These fixes are designed to satisfy codacy. However, codacy reports a NPath Complexity of 649, whereas the current, recommended, and standardized threshold is 200. This is caused by FreedomCommand#execute(CommandSender, String, String[]);
This commit is contained in:
@ -23,7 +23,7 @@ public class PermissionConfig extends FreedomService
|
||||
{
|
||||
entries = new EnumMap<>(PermissionEntry.class);
|
||||
|
||||
PermissionDefaults tempDefaults = null;
|
||||
PermissionDefaults tempDefaults;
|
||||
try
|
||||
{
|
||||
try
|
||||
@ -50,8 +50,6 @@ public class PermissionConfig extends FreedomService
|
||||
{
|
||||
FLog.severe(ex);
|
||||
}
|
||||
|
||||
PermissionDefaults defaults = tempDefaults;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user