Added missing final modifiers.

This commit is contained in:
MobiusDev
2015-12-26 12:03:36 +00:00
parent cc92e5d062
commit e0d681a17e
974 changed files with 5919 additions and 5917 deletions

View File

@@ -598,7 +598,7 @@ public class MasterHandler
{
_log.log(Level.INFO, "Loading Handlers...");
Map<IHandler<?, ?>, Method> registerHandlerMethods = new HashMap<>();
final Map<IHandler<?, ?>, Method> registerHandlerMethods = new HashMap<>();
for (IHandler<?, ?> loadInstance : LOAD_INSTANCES)
{
registerHandlerMethods.put(loadInstance, null);
@@ -627,7 +627,7 @@ public class MasterHandler
try
{
Object handler = c.newInstance();
final Object handler = c.newInstance();
for (Entry<IHandler<?, ?>, Method> entry : registerHandlerMethods.entrySet())
{
if ((entry.getValue() != null) && entry.getValue().getParameterTypes()[0].isInstance(handler))