From: David ‘Bombe’ Roden Date: Tue, 19 Mar 2013 07:19:56 +0000 (+0100) Subject: Don’t call the accessor but access the encoding directly. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=1e572668c0daa88b31424b0059d15c91e047375d;p=sonitus.git Don’t call the accessor but access the encoding directly. --- diff --git a/src/main/java/net/pterodactylus/sonitus/data/Metadata.java b/src/main/java/net/pterodactylus/sonitus/data/Metadata.java index cb1864f..01223af 100644 --- a/src/main/java/net/pterodactylus/sonitus/data/Metadata.java +++ b/src/main/java/net/pterodactylus/sonitus/data/Metadata.java @@ -206,7 +206,7 @@ public class Metadata { return false; } Metadata metadata = (Metadata) object; - if ((metadata.channels != channels) || (metadata.frequency != frequency) || !metadata.encoding.equalsIgnoreCase(encoding())) { + if ((metadata.channels != channels) || (metadata.frequency != frequency) || !metadata.encoding.equalsIgnoreCase(encoding)) { return false; } if (artist.equals(metadata.artist)) {