DATAREST-219 - Polishing.
Generally polished implementation and test cases for Greg's contribution. Re-ordered parameters in ControllerUtils' helper methods for consistency. Use Spring's CollectionFactory to create a suitable collection for the handled properties in the first place to avoid unnecessary conversion later on. Removed duplication in test cases. Polished JavaDoc in UriListHttpMessageConverter and moved to a Scanner based implementation to read the request body. Adapted to latest changes in Spring HATEOAS. Reactivated ResourceStringUtilsTests. Related pull requests: #128, #86.
This commit is contained in:
@@ -33,13 +33,13 @@ import static org.junit.runners.Parameterized.Parameters;
|
||||
* @author Florent Biville
|
||||
*/
|
||||
@RunWith(Parameterized.class)
|
||||
public class ResourceStringUtilsTest {
|
||||
public class ResourceStringUtilsTests {
|
||||
|
||||
final String actual;
|
||||
final String expected;
|
||||
final boolean hasText;
|
||||
|
||||
public ResourceStringUtilsTest(String testDescription, String actual, String expected, boolean hasText) {
|
||||
public ResourceStringUtilsTests(String testDescription, String actual, String expected, boolean hasText) {
|
||||
|
||||
this.actual = actual;
|
||||
this.expected = expected;
|
||||
Reference in New Issue
Block a user