Add URL of documentation to javadoc.
[sonitus.git] / src / main / java / net / pterodactylus / sonitus / io / flac / Stream.java
index 3b4ee59..c72229c 100644 (file)
@@ -22,7 +22,6 @@ import static com.google.common.io.ByteStreams.readFully;
 import java.io.IOException;
 import java.io.InputStream;
 import java.util.Arrays;
-import java.util.Collection;
 import java.util.List;
 
 import com.google.common.base.Optional;
@@ -32,6 +31,8 @@ import com.google.common.collect.Lists;
 
 /**
  * Parser and container for information about a FLAC stream.
+ * <p/>
+ * Information taken from <a href="http://flac.sourceforge.net/format.html">http://flac.sourceforge.net/format.html</a>.
  *
  * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
  */
@@ -62,7 +63,7 @@ public class Stream {
         *              The block type to get all metadata blocks for
         * @return The metadata blocks of the given block type
         */
-       public Collection<MetadataBlock> metadataBlocks(final BlockType blockType) {
+       public List<MetadataBlock> metadataBlocks(final BlockType blockType) {
                return FluentIterable.from(metadataBlocks).filter(new Predicate<MetadataBlock>() {
 
                        @Override