[jboss-cvs] jbosside/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/hqleditor ...
Max Rydahl Andersen
mandersen at jboss.com
Sun Feb 25 06:45:16 EST 2007
User: mandersen
Date: 07/02/25 06:45:16
Modified: hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/hqleditor
HQLCodeScanner.java
Log:
HBX-875 support case-insensitive hql/jpql syntax highlighting in HQL editorTest packaging
Revision Changes Path
1.8 +1 -1 jbosside/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/hqleditor/HQLCodeScanner.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: HQLCodeScanner.java
===================================================================
RCS file: /cvsroot/jboss/jbosside/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/hqleditor/HQLCodeScanner.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- HQLCodeScanner.java 25 Aug 2006 10:12:45 -0000 1.7
+++ HQLCodeScanner.java 25 Feb 2007 11:45:16 -0000 1.8
@@ -254,7 +254,7 @@
private void addWordRules(final IToken token, WordRule wordRule, String[] reservedWords) {
for (int i = 0; i < reservedWords.length; i++) {
wordRule.addWord( reservedWords[i], token );
- wordRule.addWord( reservedWords[i].toLowerCase(), token );
+ wordRule.addWord( reservedWords[i].toUpperCase(), token );
}
}
More information about the jboss-cvs-commits
mailing list