db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From an...@apache.org
Subject svn commit: r1687771 - /db/jdo/trunk/api/src/java/javax/jdo/query/ComparableExpression.java
Date Fri, 26 Jun 2015 12:59:01 GMT
Author: andyj
Date: Fri Jun 26 12:59:01 2015
New Revision: 1687771

URL: http://svn.apache.org/r1687771
Log:
fix javadocs to match current API

Modified:
    db/jdo/trunk/api/src/java/javax/jdo/query/ComparableExpression.java

Modified: db/jdo/trunk/api/src/java/javax/jdo/query/ComparableExpression.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api/src/java/javax/jdo/query/ComparableExpression.java?rev=1687771&r1=1687770&r2=1687771&view=diff
==============================================================================
--- db/jdo/trunk/api/src/java/javax/jdo/query/ComparableExpression.java (original)
+++ db/jdo/trunk/api/src/java/javax/jdo/query/ComparableExpression.java Fri Jun 26 12:59:01
2015
@@ -18,13 +18,6 @@ package javax.jdo.query;
 
 /**
  * Representation of an expression for a Java type that implements java.lang.Comparable.
- * Nore that the methods taking Expression as an argument could have been defined to take
- * ComparableExpression but that would then have prevented code like
- * <pre>
- * NumericExpression param = (NumericExpression)tq.parameter("criticalValue", Double.class);
- * tq.filter(cand.value.lt(param));
- * </pre>
- * and we would have had to cast the parameter to NumericExpression
  *
  * @param <T> Java type being represented here
  */



Mime
View raw message