ClassInfo dropCase method not checking 2nd char appropriately
-------------------------------------------------------------
Key: IBATIS-295
URL: http://issues.apache.org/jira/browse/IBATIS-295
Project: iBatis for Java
Type: Bug
Components: SQL Maps
Versions: 2.1.6
Environment: WinXP, Oracle10, 1.4
Reporter: Emmanuel Bardet
Priority: Trivial
Hello there,
The test:
if (name.length() == 1 || (name.length() > 1 &&
!Character.isUpperCase(name.charAt(1)))) {
does not deal with non letters. Thus, a method name "getA_B" gets dropCase to
return "a_B".
Great work u r doing there though!
Tx
E
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira