Skip to content

Commit 7df65ad

Browse files
committed
Just Just a quick fix for the Front-controller pattern.
1 parent d7dd8d4 commit 7df65ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

front-controller/src/main/java/com/iluwatar/front/controller/FrontController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ private Command getCommand(String request) {
2525
private Class getCommandClass(String request) {
2626
Class result;
2727
try {
28-
result = Class.forName("com.iluwatar." + request + "Command");
28+
result = Class.forName("com.iluwatar.front.controller." + request + "Command");
2929
} catch (ClassNotFoundException e) {
3030
result = UnknownCommand.class;
3131
}

0 commit comments

Comments
 (0)