X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=trunk%2Fsystem%2Fgeneral%2Fsrc%2Fmain%2Fjava%2Forg%2Fwamblee%2Fsystem%2Fadapters%2FSetterConfiguration.java;h=15c101dcc1ce9d50a69a93bbb57d5abe9457abb3;hb=a56a067ef8df90d44f4f8f82ad44a7540dce1a41;hp=f81c4a4bc405837d893f5e021635a3b3bd1e0137;hpb=bdfb8613aa85d0e2e2830ec3dc2e7afd2c81d313;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()); }