Author: nextgens
Date: 2008-08-25 16:52:27 +0000 (Mon, 25 Aug 2008)
New Revision: 22139

Modified:
   trunk/freenet/src/freenet/support/io/BaseFileBucket.java
Log:
BaseFileBucket: trivial: add a few @Override

Modified: trunk/freenet/src/freenet/support/io/BaseFileBucket.java
===================================================================
--- trunk/freenet/src/freenet/support/io/BaseFileBucket.java    2008-08-25 
16:37:44 UTC (rev 22138)
+++ trunk/freenet/src/freenet/support/io/BaseFileBucket.java    2008-08-25 
16:52:27 UTC (rev 22139)
@@ -151,6 +151,7 @@

                }

+               @Override
                public void write(byte[] b) throws IOException {
                        synchronized (BaseFileBucket.this) {
                                confirmWriteSynchronized();
@@ -159,6 +160,7 @@
                        }
                }

+               @Override
                public void write(byte[] b, int off, int len) throws 
IOException {
                        synchronized (BaseFileBucket.this) {
                                confirmWriteSynchronized();
@@ -167,6 +169,7 @@
                        }
                }

+               @Override
                public void write(int b) throws IOException {
                        synchronized (BaseFileBucket.this) {
                                confirmWriteSynchronized();
@@ -175,6 +178,7 @@
                        }
                }

+               @Override
                public void close() throws IOException {
                        File file;
                        synchronized(this) {
@@ -213,6 +217,7 @@
                        }
                }

+               @Override
                public String toString() {
                        return 
super.toString()+":"+BaseFileBucket.this.toString();
                }
@@ -225,6 +230,7 @@
                        super(f);
                }

+               @Override
                public void close() throws IOException {
                        synchronized(this) {
                                if(closed) return;
@@ -234,6 +240,7 @@
                        super.close();
                }

+               @Override
                public String toString() {
                        return 
super.toString()+":"+BaseFileBucket.this.toString();
                }
@@ -277,6 +284,7 @@
                getFile().delete();
        }

+       @Override
        protected void finalize() {
                if(deleteOnFinalize())
                        free(true);


Reply via email to