mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-12-27 19:19:07 +00:00
Refactor
This commit is contained in:
@@ -34,7 +34,7 @@ public class DecreeParameter {
|
||||
|
||||
public DecreeParameterHandler<?> getHandler()
|
||||
{
|
||||
return DecreeSystem.handle(getType());
|
||||
return DecreeSystem.getHandler(getType());
|
||||
}
|
||||
|
||||
public Class<?> getType()
|
||||
|
||||
@@ -29,7 +29,7 @@ public class DecreeSystem {
|
||||
* @param type The type to handle
|
||||
* @return The corresponding {@link DecreeParameterHandler}, or null
|
||||
*/
|
||||
public static DecreeParameterHandler<?> handle(Class<?> type)
|
||||
public static DecreeParameterHandler<?> getHandler(Class<?> type)
|
||||
{
|
||||
for(DecreeParameterHandler<?> i : handlers)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user