Polishing

This commit is contained in:
Juergen Hoeller
2015-03-21 01:19:01 +01:00
parent 3d2bde7156
commit 56273a8ff3
4 changed files with 51 additions and 58 deletions

View File

@@ -15,20 +15,20 @@
*/
package org.springframework.http;
import static org.junit.Assert.*;
import java.util.ArrayList;
import java.util.List;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Unit tests for {@link org.springframework.http.HttpRange}.
* Unit tests for {@link HttpRange}.
*
* @author Rossen Stoyanchev
*/
public class HttpRangeTests {
@Test(expected = IllegalArgumentException.class)
public void invalidFirstPosition() throws Exception {
HttpRange.createByteRange(-1);