HSAdmin Backend Domains, E-Mail, Datenbanken
Peter Hormanns
2011-05-19 23bcbfb199af4f5155388f89df98db22d7931362
fehlende Basistypen ergaenzt
2 files modified
7 ■■■■■ changed files
hsarback/src/de/hsadmin/cliClientConnector/CLIClientConnectorServlet.java 6 ●●●● patch | view | raw | blame | history
hsarback/test/de/hsadmin/remote/CustomerTest.java 1 ●●●● patch | view | raw | blame | history
hsarback/src/de/hsadmin/cliClientConnector/CLIClientConnectorServlet.java
@@ -124,11 +124,11 @@
                try {
                    if (type.equals("java.lang.String"))
                        m[j].invoke(o, value);
                    else if (type.equals("java.lang.Integer"))
                    else if (type.equals("java.lang.Integer") || type.equals("int"))
                        m[j].invoke(o, Integer.parseInt(value));
                    else if (type.equals("java.lang.Long"))
                    else if (type.equals("java.lang.Long") || type.equals("long"))
                        m[j].invoke(o, Long.parseLong(value));
                    else if (type.equals("java.lang.Boolean"))
                    else if (type.equals("java.lang.Boolean") || type.equals("boolean"))
                        m[j].invoke(o, Boolean.valueOf(value));
                    else if (type.equals("java.util.Date")) {
                        DateFormat df = DateFormat.getInstance();
hsarback/test/de/hsadmin/remote/CustomerTest.java
@@ -51,7 +51,6 @@
        setParams.put("contact_title", "Dr.");
        setParams.put("contact_firstname", "Ömer Günther");
        setParams.put("contact_lastname", "Janßen-Müller");
        setParams.put("contact_salut", "Herr");
        setParams.put("contact_street", "Hauptstr. 1");
        setParams.put("contact_zipcode", "99998");
        setParams.put("contact_city", "Musterstadt");