From: David ‘Bombe’ Roden Date: Wed, 13 Apr 2011 04:35:07 +0000 (+0200) Subject: Add some thread-safety. X-Git-Tag: beta-freefall-0.6.2-1~12 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=2a21f20f46d6f57d21a62815878f8160d305eb30;p=Sone.git Add some thread-safety. --- diff --git a/src/main/java/net/pterodactylus/sone/core/FreenetInterface.java b/src/main/java/net/pterodactylus/sone/core/FreenetInterface.java index 0976dca..3466ead 100644 --- a/src/main/java/net/pterodactylus/sone/core/FreenetInterface.java +++ b/src/main/java/net/pterodactylus/sone/core/FreenetInterface.java @@ -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.