From: erik Date: Sun, 15 Nov 2009 10:42:55 +0000 (+0000) Subject: (no commit message) X-Git-Tag: wamblee-utils-0.2~1^2~53 X-Git-Url: http://wamblee.org/gitweb/?a=commitdiff_plain;h=03db7290e3363088298e5382e94b5e95ec2f2486;p=utils --- diff --git a/system/general/src/main/java/org/wamblee/system/adapters/SetterConfiguration.java b/system/general/src/main/java/org/wamblee/system/adapters/SetterConfiguration.java index f81c4a4b..15c101dc 100644 --- a/system/general/src/main/java/org/wamblee/system/adapters/SetterConfiguration.java +++ b/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()); }