openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fayw...@apache.org
Subject svn commit: r799028 - in /openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/criteria: CriteriaExpressionBuilder.java OrderImpl.java
Date Wed, 29 Jul 2009 19:26:44 GMT
Author: faywang
Date: Wed Jul 29 19:26:44 2009
New Revision: 799028

URL: http://svn.apache.org/viewvc?rev=799028&view=rev
Log:
OPENJPA-1202: code clean up

Modified:
    openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/criteria/CriteriaExpressionBuilder.java
    openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/criteria/OrderImpl.java

Modified: openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/criteria/CriteriaExpressionBuilder.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/criteria/CriteriaExpressionBuilder.java?rev=799028&r1=799027&r2=799028&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/criteria/CriteriaExpressionBuilder.java
(original)
+++ openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/criteria/CriteriaExpressionBuilder.java
Wed Jul 29 19:26:44 2009
@@ -122,7 +122,7 @@
         for (int i = 0; i < ordercount; i++) {
             OrderImpl order = (OrderImpl)orders.get(i);
             //Expression<? extends Comparable> expr = order.getExpression();
-            Expression<?> expr = order.getExpression5();
+            Expression<?> expr = order.getExpression();
             Value val = Expressions.toValue(
                     (ExpressionImpl<?>)expr, factory, model, q);
             exps.ordering[i] = val;

Modified: openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/criteria/OrderImpl.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/criteria/OrderImpl.java?rev=799028&r1=799027&r2=799028&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/criteria/OrderImpl.java
(original)
+++ openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/criteria/OrderImpl.java
Wed Jul 29 19:26:44 2009
@@ -44,10 +44,6 @@
 		return e;
 	}
 	
-	public Expression getExpression5() {
-	    return e;
-	}
-
 	public boolean isAscending() {
 		return _ascending;
 	}



Mime
View raw message