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

View File

@ -34,7 +34,7 @@ public class DecreeParameter {
public DecreeParameterHandler<?> getHandler() public DecreeParameterHandler<?> getHandler()
{ {
return DecreeSystem.handle(getType()); return DecreeSystem.getHandler(getType());
} }
public Class<?> getType() public Class<?> getType()

View File

@ -29,7 +29,7 @@ public class DecreeSystem {
* @param type The type to handle * @param type The type to handle
* @return The corresponding {@link DecreeParameterHandler}, or null * @return The corresponding {@link DecreeParameterHandler}, or null
*/ */
public static DecreeParameterHandler<?> handle(Class<?> type) public static DecreeParameterHandler<?> getHandler(Class<?> type)
{ {
for(DecreeParameterHandler<?> i : handlers) for(DecreeParameterHandler<?> i : handlers)
{ {