Do not use a BiMap.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sun, 2 Jun 2013 00:08:55 +0000 (02:08 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Tue, 4 Jun 2013 04:21:44 +0000 (06:21 +0200)
src/main/java/net/pterodactylus/sonitus/io/mp3/Frame.java

index e6b38e0..ad91a91 100644 (file)
@@ -22,7 +22,6 @@ import java.util.Map;
 import com.google.common.base.Optional;
 import com.google.common.base.Supplier;
 import com.google.common.base.Suppliers;
-import com.google.common.collect.ImmutableBiMap;
 import com.google.common.collect.ImmutableMap;
 
 /**
@@ -132,7 +131,7 @@ public class Frame {
                        mpegAudioVersionMapBuilder.put(MpegAudioVersion.VERSION_1, mpeg1Builder.build());
 
                        /* MPEG 2 & 2.5. */
-                       ImmutableBiMap.Builder<LayerDescription, Map<Integer, Integer>> mpeg2Builder = ImmutableBiMap.builder();
+                       ImmutableMap.Builder<LayerDescription, Map<Integer, Integer>> mpeg2Builder = ImmutableMap.builder();
 
                        /* Layer 1. */
                        bitrates = ImmutableMap.builder();