X-Git-Url: https://git.pterodactylus.net/?p=jSite2.git;a=blobdiff_plain;f=src%2Fnet%2Fpterodactylus%2Futil%2Fio%2FLimitedInputStream.java;h=68e5d16234b72ffd3060a1de34195981945dd040;hp=5224bde9c3828cc78a4a2facce455f98358af509;hb=c63257e8cc0ba1a5aca9364b22171abe7279d479;hpb=55be4a9e8373d72a9e1c25a3c8150651bb19679d
diff --git a/src/net/pterodactylus/util/io/LimitedInputStream.java b/src/net/pterodactylus/util/io/LimitedInputStream.java
index 5224bde..68e5d16 100644
--- a/src/net/pterodactylus/util/io/LimitedInputStream.java
+++ b/src/net/pterodactylus/util/io/LimitedInputStream.java
@@ -11,7 +11,7 @@ import java.io.InputStream;
/**
* A wrapper around an {@link InputStream} that only supplies a limit number of
* bytes from the underlying input stream.
- *
+ *
* @author David Roden
*/
public class LimitedInputStream extends FilterInputStream {
@@ -22,7 +22,7 @@ public class LimitedInputStream extends FilterInputStream {
/**
* Creates a new LimitedInputStream that supplies at most
* length
bytes from the given input stream.
- *
+ *
* @param inputStream
* The input stream
* @param length
@@ -87,7 +87,7 @@ public class LimitedInputStream extends FilterInputStream {
/**
* {@inheritDoc} This method does nothing, as {@link #mark(int)} and
* {@link #reset()} are not supported.
- *
+ *
* @see java.io.FilterInputStream#mark(int)
*/
@Override
@@ -97,7 +97,7 @@ public class LimitedInputStream extends FilterInputStream {
/**
* {@inheritDoc}
- *
+ *
* @see java.io.FilterInputStream#markSupported()
* @return false
*/
@@ -109,7 +109,7 @@ public class LimitedInputStream extends FilterInputStream {
/**
* {@inheritDoc} This method does nothing, as {@link #mark(int)} and
* {@link #reset()} are not supported.
- *
+ *
* @see java.io.FilterInputStream#reset()
*/
@Override
@@ -120,7 +120,7 @@ public class LimitedInputStream extends FilterInputStream {
/**
* Consumes the input stream, i.e. read all bytes until the limit is
* reached.
- *
+ *
* @throws IOException
* if an I/O error occurs
*/