Fixed build by suppressing unchecked warnings

This commit is contained in:
Arjen Poutsma
2017-02-20 09:22:59 +01:00
parent 24358200c3
commit 63f261155a

View File

@@ -408,6 +408,7 @@ class DefaultWebTestClient implements WebTestClient {
});
}
@SuppressWarnings("unchecked")
@Override
public <T> EntityExchangeResult<T> returnResult() {
return new EntityExchangeResult<>(this.result, (T) this.result.getResponseBody());