From 85c3caaa2ef0c403b4083e8d079ce46fecbf8f7c Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Mon, 3 Jun 2013 22:25:14 +0200 Subject: [PATCH] Declare the current samples array as final. --- src/main/java/net/pterodactylus/sonitus/io/ProcessingOutputStream.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/pterodactylus/sonitus/io/ProcessingOutputStream.java b/src/main/java/net/pterodactylus/sonitus/io/ProcessingOutputStream.java index ded9df1..9afc1f5 100644 --- a/src/main/java/net/pterodactylus/sonitus/io/ProcessingOutputStream.java +++ b/src/main/java/net/pterodactylus/sonitus/io/ProcessingOutputStream.java @@ -33,7 +33,7 @@ public abstract class ProcessingOutputStream extends FilterOutputStream { private final int channels; /** The current sample’s channel values. */ - private int[] currentSamples; + private final int[] currentSamples; /** The index of the current channel. */ private int currentSampleIndex; -- 2.7.4