Update of /var/cvs/src/org/mmbase/bridge
In directory james.mmbase.org:/tmp/cvs-serv28240

Modified Files:
        Query.java 
Log Message:
in java 5 the return type of clone can be more precise


See also: http://cvs.mmbase.org/viewcvs/src/org/mmbase/bridge


Index: Query.java
===================================================================
RCS file: /var/cvs/src/org/mmbase/bridge/Query.java,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -b -r1.47 -r1.48
--- Query.java  25 Nov 2008 13:22:16 -0000      1.47
+++ Query.java  12 Jan 2009 13:32:33 -0000      1.48
@@ -19,11 +19,11 @@
  *
  * @author Michiel Meeuwissen
  * @author Pierre van Rooden
- * @version $Id: Query.java,v 1.47 2008/11/25 13:22:16 michiel Exp $
+ * @version $Id: Query.java,v 1.48 2009/01/12 13:32:33 michiel Exp $
  * @since MMBase-1.7
  * @see org.mmbase.bridge.util.Queries
  */
-public interface Query extends SearchQuery, Cloneable {
+public interface Query extends SearchQuery, 
org.mmbase.util.PublicCloneable<Query> {
 
     /**
      * Returns the Cloud for which this Query was defined.
@@ -364,7 +364,7 @@
      * Create an (unused) clone
      * @return Cloned Query
      */
-    Object clone();
+    Query clone();
 
     /**
      * Clones this object, only without the fields
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to