Polishing

This commit is contained in:
Juergen Hoeller
2017-10-09 15:41:10 +02:00
parent 7610210a0e
commit 565b20d638
2 changed files with 3 additions and 3 deletions

View File

@@ -69,7 +69,7 @@ public class HttpMessageConverterExtractor<T> implements ResponseExtractor<T> {
Assert.notNull(responseType, "'responseType' must not be null");
Assert.notEmpty(messageConverters, "'messageConverters' must not be empty");
this.responseType = responseType;
this.responseClass = (responseType instanceof Class) ? (Class<T>) responseType : null;
this.responseClass = (responseType instanceof Class ? (Class<T>) responseType : null);
this.messageConverters = messageConverters;
this.logger = logger;
}