config: Redundant var

This commit is contained in:
sdburns1998
2019-07-07 22:00:39 +02:00
parent 1dfca33282
commit b37f02869f

View File

@@ -243,12 +243,10 @@ public class ConfigManager
throw new RuntimeException("Non-public configuration classes can't have default methods invoked"); throw new RuntimeException("Non-public configuration classes can't have default methods invoked");
} }
T t = (T) Proxy.newProxyInstance(clazz.getClassLoader(), new Class<?>[] return (T) Proxy.newProxyInstance(clazz.getClassLoader(), new Class<?>[]
{ {
clazz clazz
}, handler); }, handler);
return t;
} }
public List<String> getConfigurationKeys(String prefix) public List<String> getConfigurationKeys(String prefix)