From: David ‘Bombe’ Roden Date: Tue, 28 May 2013 10:57:12 +0000 (+0200) Subject: Declare metadata final. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=0faaa44bf8aca112072f31c75af4335cebfeb995;p=sonitus.git Declare metadata final. --- 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.