Author: toad
Date: 2009-03-07 18:21:49 +0000 (Sat, 07 Mar 2009)
New Revision: 25941

Modified:
   branches/db4o/freenet/src/freenet/client/FetchContext.java
Log:
Override return type


Modified: branches/db4o/freenet/src/freenet/client/FetchContext.java
===================================================================
--- branches/db4o/freenet/src/freenet/client/FetchContext.java  2009-03-07 
18:20:45 UTC (rev 25940)
+++ branches/db4o/freenet/src/freenet/client/FetchContext.java  2009-03-07 
18:21:49 UTC (rev 25941)
@@ -177,9 +177,9 @@
 
        /** Make public, but just call parent for a field for field copy */
        @Override
-       public Object clone() {
+       public FetchContext clone() {
                try {
-                       return super.clone();
+                       return (FetchContext) super.clone();
                } catch (CloneNotSupportedException e) {
                        // Impossible
                        throw new Error(e);

_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs

Reply via email to