diff --git a/build.gradle b/build.gradle index 325c55941..fe292cdb6 100644 --- a/build.gradle +++ b/build.gradle @@ -30,7 +30,7 @@ configure(subprojects) { subproject -> compile.extendsFrom providedCompile } - [compileJava, compileTestJava]*.options*.compilerArgs = ["-Xlint:serial", "-Xlint:unchecked"] + [compileJava, compileTestJava]*.options*.compilerArgs = ["-Xlint:unchecked"] project.sourceCompatibility = 1.6 project.targetCompatibility = 1.6 diff --git a/spring-data-rest-webmvc/src/test/groovy/org/springframework/data/rest/webmvc/spec/DiscoverySpec.groovy b/spring-data-rest-webmvc/src/test/groovy/org/springframework/data/rest/webmvc/spec/DiscoverySpec.groovy index 3bf1a6821..6e19626a1 100644 --- a/spring-data-rest-webmvc/src/test/groovy/org/springframework/data/rest/webmvc/spec/DiscoverySpec.groovy +++ b/spring-data-rest-webmvc/src/test/groovy/org/springframework/data/rest/webmvc/spec/DiscoverySpec.groovy @@ -42,7 +42,7 @@ class DiscoverySpec extends BaseSpec { then: response.statusCode == HttpStatus.OK - body.resources.size() == 10 + body.content.size() == 10 body.page.total == 2 body.page.current == 1 diff --git a/spring-data-rest-webmvc/src/test/groovy/org/springframework/data/rest/webmvc/spec/QueryMethodsSpec.groovy b/spring-data-rest-webmvc/src/test/groovy/org/springframework/data/rest/webmvc/spec/QueryMethodsSpec.groovy index 9f20c0987..d299625b4 100644 --- a/spring-data-rest-webmvc/src/test/groovy/org/springframework/data/rest/webmvc/spec/QueryMethodsSpec.groovy +++ b/spring-data-rest-webmvc/src/test/groovy/org/springframework/data/rest/webmvc/spec/QueryMethodsSpec.groovy @@ -47,7 +47,7 @@ class QueryMethodsSpec extends BaseSpec { then: response.statusCode == HttpStatus.OK - body.resources.size() == 1 + body.content.size() == 1 }