Don’t declare that an IOException can be thrown.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sun, 28 Nov 2010 19:32:20 +0000 (20:32 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sun, 28 Nov 2010 19:32:20 +0000 (20:32 +0100)
src/main/java/net/pterodactylus/sone/freenet/StringBucket.java

index 2e2a102..ebe036a 100644 (file)
@@ -68,7 +68,7 @@ public class StringBucket implements Bucket {
         * {@inheritDoc}
         */
        @Override
-       public Bucket createShadow() throws IOException {
+       public Bucket createShadow() {
                return new StringBucket(string);
        }