From 22788933e4a2b4ee39f298ebcefda5b93b0496fb Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sat, 13 Nov 2010 21:10:03 +0100 Subject: [PATCH] Always initialize profile. --- src/main/java/net/pterodactylus/sone/data/Sone.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/pterodactylus/sone/data/Sone.java b/src/main/java/net/pterodactylus/sone/data/Sone.java index 7fd5fa6..a0f87b2 100644 --- a/src/main/java/net/pterodactylus/sone/data/Sone.java +++ b/src/main/java/net/pterodactylus/sone/data/Sone.java @@ -79,7 +79,7 @@ public class Sone { private volatile long time; /** The profile of this Sone. */ - private volatile Profile profile; + private volatile Profile profile = new Profile(); /** All friend Sones. */ private final Set friendSones = Collections.synchronizedSet(new HashSet()); -- 2.7.4