Fix shadow creation.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 13 Dec 2013 22:48:11 +0000 (23:48 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 28 Feb 2014 21:26:08 +0000 (22:26 +0100)
src/main/java/net/pterodactylus/sone/freenet/StringBucket.java

index 26c6115..af519d2 100644 (file)
@@ -64,7 +64,7 @@ public class StringBucket implements Bucket {
 
        @Override
        public Bucket createShadow() {
-               return new StringBucket(string);
+               return new StringBucket(string, encoding);
        }
 
        @Override