This commit is contained in:
CocoTheOwner committed 2021-08-12 23:19:24 +02:00
1 parent ac4c37ba48
commit 326bf39bed
2 files changed
+2 -2

No files matched your search

@@ -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)
{