Author: toad
Date: 2008-12-19 00:45:34 +0000 (Fri, 19 Dec 2008)
New Revision: 24552

Modified:
   branches/db4o/freenet/src/freenet/client/ArchiveManager.java
   branches/db4o/freenet/src/freenet/client/ArchiveStoreContext.java
Log:
Remove unused variable


Modified: branches/db4o/freenet/src/freenet/client/ArchiveManager.java
===================================================================
--- branches/db4o/freenet/src/freenet/client/ArchiveManager.java        
2008-12-19 00:44:34 UTC (rev 24551)
+++ branches/db4o/freenet/src/freenet/client/ArchiveManager.java        
2008-12-19 00:45:34 UTC (rev 24552)
@@ -175,7 +175,7 @@
                handler = getCached(key);
                if(handler != null) return handler;
                if(returnNullIfNotFound) return null;
-               handler = new ArchiveStoreContext(key, archiveType, ctype);
+               handler = new ArchiveStoreContext(key, archiveType);
                putCached(key, handler);
                return handler;
        }

Modified: branches/db4o/freenet/src/freenet/client/ArchiveStoreContext.java
===================================================================
--- branches/db4o/freenet/src/freenet/client/ArchiveStoreContext.java   
2008-12-19 00:44:34 UTC (rev 24551)
+++ branches/db4o/freenet/src/freenet/client/ArchiveStoreContext.java   
2008-12-19 00:45:34 UTC (rev 24552)
@@ -22,7 +22,6 @@
 
        private FreenetURI key;
        private final ArchiveManager.ARCHIVE_TYPE archiveType;
-       private final COMPRESSOR_TYPE compressorType;
        /** Archive size */
        private long lastSize = -1;
        /** Archive hash */
@@ -33,10 +32,9 @@
         * the inner lock to avoid deadlocks. */
        private final DoublyLinkedListImpl<ArchiveStoreItem> myItems;
        
-       ArchiveStoreContext(FreenetURI key, ArchiveManager.ARCHIVE_TYPE 
archiveType, COMPRESSOR_TYPE ctype) {
+       ArchiveStoreContext(FreenetURI key, ArchiveManager.ARCHIVE_TYPE 
archiveType) {
                this.key = key;
                this.archiveType = archiveType;
-               this.compressorType = ctype;
                myItems = new DoublyLinkedListImpl<ArchiveStoreItem>();
        }
 

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

Reply via email to