Fehlerkorrektur im CLI-Servlet
This commit is contained in:
parent
a89989b1fd
commit
eb4ed908ac
@ -8,6 +8,7 @@ import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
import java.util.Locale;
|
||||
import java.util.Map;
|
||||
|
||||
import javax.servlet.ServletConfig;
|
||||
@ -131,7 +132,7 @@ public class CLIClientConnectorServlet extends HttpServlet {
|
||||
else if (type.equals("java.lang.Boolean") || type.equals("boolean"))
|
||||
m[j].invoke(realO, Boolean.valueOf(value));
|
||||
else if (type.equals("java.util.Date")) {
|
||||
DateFormat df = DateFormat.getInstance();
|
||||
DateFormat df = DateFormat.getDateInstance(DateFormat.SHORT, Locale.GERMANY);
|
||||
m[j].invoke(realO, df.parse(value));
|
||||
} else {
|
||||
Method m2 = module.getClass().getMethod(
|
||||
|
Loading…
Reference in New Issue
Block a user