From 2a21f20f46d6f57d21a62815878f8160d305eb30 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Wed, 13 Apr 2011 06:35:07 +0200 Subject: [PATCH] Add some thread-safety. --- src/main/java/net/pterodactylus/sone/core/FreenetInterface.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.7.4