Polishing

This commit is contained in:
Juergen Hoeller
2016-05-06 12:03:10 +02:00
parent 42d32ba396
commit 5682950289
4 changed files with 27 additions and 19 deletions

View File

@@ -143,7 +143,7 @@ public abstract class StreamUtils {
* @param end the position to end copying
* @return the number of bytes copied
* @throws IOException in case of I/O errors
* @since 4.3.0
* @since 4.3
*/
public static long copyRange(InputStream in, OutputStream out, long start, long end) throws IOException {
long skipped = in.skip(start);
@@ -175,7 +175,7 @@ public abstract class StreamUtils {
* @param in the InputStream to drain
* @return the number of bytes read
* @throws IOException in case of I/O errors
* @since 4.3.0
* @since 4.3
*/
public static int drain(InputStream in) throws IOException {
Assert.notNull(in, "No InputStream specified");