Add some thread-safety.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 13 Apr 2011 04:35:07 +0000 (06:35 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 13 Apr 2011 04:41:30 +0000 (06:41 +0200)
src/main/java/net/pterodactylus/sone/core/FreenetInterface.java

index 0976dca..3466ead 100644 (file)
@@ -342,7 +342,7 @@ public class FreenetInterface {
                private ClientPutter clientPutter;
 
                /** The final URI. */
-               private FreenetURI resultingUri;
+               private volatile FreenetURI resultingUri;
 
                /**
                 * Creates a new insert token for the given image.