Skip to content

Commit 1b159c5

Browse files
committed
Removed unnecessary package name from the import
1 parent 86ae20c commit 1b159c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/me/despical/commandframework/ParameterHandler.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public Object[] getParameterArray(Method method, CommandArguments commandArgumen
5454
String value = ((Param) annotation).value();
5555

5656
if (!customParametersMap.containsKey(value)) {
57-
throw new me.despical.commandframework.exceptions.CommandException("Custom parameter (type: {0}, value: {1}) is requested but return function is not found!", simpleName, value);
57+
throw new CommandException("Custom parameter (type: {0}, value: {1}) is requested but return function is not found!", simpleName, value);
5858
}
5959

6060
methodParameters[i] = customParametersMap.get(value).apply(commandArguments);
@@ -73,7 +73,7 @@ public Object[] getParameterArray(Method method, CommandArguments commandArgumen
7373
try {
7474
methodParameters[i] = clazz.getMethod("valueOf", String.class).invoke(null, defaultValue);
7575
} catch (Exception exception) {
76-
throw new me.despical.commandframework.exceptions.CommandException("Static method {0}#valueOf(String) does not exist!", clazz.getSimpleName());
76+
throw new CommandException("Static method {0}#valueOf(String) does not exist!", clazz.getSimpleName());
7777
}
7878

7979
continue outer_loop;

0 commit comments

Comments
 (0)