Author: dan.j.allen
Date: 2009-04-07 16:49:45 -0400 (Tue, 07 Apr 2009)
New Revision: 10338
Modified:
trunk/src/main/org/jboss/seam/framework/Query.java
Log:
replace "and" with constant
Modified: trunk/src/main/org/jboss/seam/framework/Query.java
===================================================================
--- trunk/src/main/org/jboss/seam/framework/Query.java 2009-04-07 20:47:59 UTC (rev
10337)
+++ trunk/src/main/org/jboss/seam/framework/Query.java 2009-04-07 20:49:45 UTC (rev
10338)
@@ -503,7 +503,7 @@
private String sanitizeRestrictionLogicOperator(String operator) {
if (operator == null || operator.trim().length() == 0)
{
- return "and";
+ return LOGIC_OPERATOR_AND;
}
if (!(LOGIC_OPERATOR_AND.equals(operator) || LOGIC_OPERATOR_OR.equals(operator)))
{