From: David ‘Bombe’ Roden Date: Sun, 28 Nov 2010 19:32:20 +0000 (+0100) Subject: Don’t declare that an IOException can be thrown. X-Git-Tag: 0.3.2-RC1~10 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=e7dbdd3a781a551bc1d2338e51a08566608a8e5f;p=Sone.git Don’t declare that an IOException can be thrown. --- diff --git a/src/main/java/net/pterodactylus/sone/freenet/StringBucket.java b/src/main/java/net/pterodactylus/sone/freenet/StringBucket.java index 2e2a102..ebe036a 100644 --- a/src/main/java/net/pterodactylus/sone/freenet/StringBucket.java +++ b/src/main/java/net/pterodactylus/sone/freenet/StringBucket.java @@ -68,7 +68,7 @@ public class StringBucket implements Bucket { * {@inheritDoc} */ @Override - public Bucket createShadow() throws IOException { + public Bucket createShadow() { return new StringBucket(string); }