We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9407b92 commit 80e9ec4Copy full SHA for 80e9ec4
src/main/java/org/hibernate/annotations/common/util/StringHelper.java
@@ -51,7 +51,7 @@ private StringHelper() { /* static methods only - hide constructor */
51
public static int lastIndexOfLetter(String string) {
52
for ( int i=0; i<string.length(); i++ ) {
53
char character = string.charAt(i);
54
- if ( !Character.isLetter(character) /*&& !('_'==character)*/ ) return i-1;
+ if ( !Character.isLetter(character) && !('_'==character) ) return i-1;
55
}
56
return string.length()-1;
57
0 commit comments