From 565b20d638d452807053f6f7c4f5dee1d7883697 Mon Sep 17 00:00:00 2001 From: Juergen Hoeller Date: Mon, 9 Oct 2017 15:41:10 +0200 Subject: [PATCH] Polishing --- .../src/main/java/org/springframework/asm/SpringAsmInfo.java | 4 ++-- .../web/client/HttpMessageConverterExtractor.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-core/src/main/java/org/springframework/asm/SpringAsmInfo.java b/spring-core/src/main/java/org/springframework/asm/SpringAsmInfo.java index 409f00c81b..2ee749a37a 100644 --- a/spring-core/src/main/java/org/springframework/asm/SpringAsmInfo.java +++ b/spring-core/src/main/java/org/springframework/asm/SpringAsmInfo.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2014 the original author or authors. + * Copyright 2002-2017 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -18,7 +18,7 @@ package org.springframework.asm; /** * Utility class exposing constants related to Spring's internal repackaging - * of the ASM bytecode manipulation library (currently based on version 5.0). + * of the ASM bytecode manipulation library (currently based on version 5.2). * *

See package-level javadocs for more * information on {@code org.springframework.asm}. diff --git a/spring-web/src/main/java/org/springframework/web/client/HttpMessageConverterExtractor.java b/spring-web/src/main/java/org/springframework/web/client/HttpMessageConverterExtractor.java index 34e5dbd0a4..eda69af2d2 100644 --- a/spring-web/src/main/java/org/springframework/web/client/HttpMessageConverterExtractor.java +++ b/spring-web/src/main/java/org/springframework/web/client/HttpMessageConverterExtractor.java @@ -69,7 +69,7 @@ public class HttpMessageConverterExtractor implements ResponseExtractor { 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) responseType : null; + this.responseClass = (responseType instanceof Class ? (Class) responseType : null); this.messageConverters = messageConverters; this.logger = logger; }