From: erik Date: Sun, 15 Nov 2009 10:42:55 +0000 (+0000) Subject: (no commit message) X-Git-Tag: wamblee-utils-0.2@603~50 X-Git-Url: http://wamblee.org/gitweb/?a=commitdiff_plain;h=a56a067ef8df90d44f4f8f82ad44a7540dce1a41;p=utils --- diff --git a/trunk/system/general/src/main/java/org/wamblee/system/adapters/SetterConfiguration.java b/trunk/system/general/src/main/java/org/wamblee/system/adapters/SetterConfiguration.java index f81c4a4b..15c101dc 100644 --- a/trunk/system/general/src/main/java/org/wamblee/system/adapters/SetterConfiguration.java +++ b/trunk/system/general/src/main/java/org/wamblee/system/adapters/SetterConfiguration.java @@ -133,20 +133,6 @@ public class SetterConfiguration { "Method '" + aMethod + "' was not configured. "); } - - - /** - * Creates the name of a setter based on the name of the setter without the - * "set" prefix. - * - * @param aName - * Setter name. - * @return Setter name. - */ - private String createxSetterName(String aName) { - return "set" + aName.substring(0, 1).toUpperCase() + aName.substring(1); - } - /** * Adds a given setter name to the setters. * @@ -308,20 +294,6 @@ public class SetterConfiguration { + "' found"); } - /** - * Gets the setter name for a given setter method. This is the name of the - * setter without the "set" prefix and with the first character converted to - * lowercase. - * - * @param aMethod - * Method. - * @return Setter name. - */ - private static String getxSetterName(Method aMethod) { - String result = aMethod.getName().substring(3); - return result.substring(0, 1).toLowerCase() + result.substring(1); - } - public List getSetters() { return new ArrayList(_setters.keySet()); }