From: David ‘Bombe’ Roden Date: Sat, 13 Nov 2010 20:10:03 +0000 (+0100) Subject: Always initialize profile. X-Git-Tag: 0.3-RC1~99 X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=commitdiff_plain;h=22788933e4a2b4ee39f298ebcefda5b93b0496fb Always initialize profile. --- 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());