From 0faaa44bf8aca112072f31c75af4335cebfeb995 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Tue, 28 May 2013 12:57:12 +0200 Subject: [PATCH] Declare metadata final. --- .../net/pterodactylus/sonitus/data/AbstractControlledComponent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/pterodactylus/sonitus/data/AbstractControlledComponent.java b/src/main/java/net/pterodactylus/sonitus/data/AbstractControlledComponent.java index 15740ad..fe338c1 100644 --- a/src/main/java/net/pterodactylus/sonitus/data/AbstractControlledComponent.java +++ b/src/main/java/net/pterodactylus/sonitus/data/AbstractControlledComponent.java @@ -37,7 +37,7 @@ public abstract class AbstractControlledComponent implements ControlledComponent private final List metadataListeners = Lists.newCopyOnWriteArrayList(); /** The current metadata. */ - private AtomicReference metadata = new AtomicReference(); + private final AtomicReference metadata = new AtomicReference(); /** * Creates a new abstract controlled component. -- 2.7.4