Browse Source

Polishing

pull/23067/head
Juergen Hoeller 9 years ago
parent
commit
5c87afc51d
  1. 4
      spring-context/src/main/java/org/springframework/context/support/DefaultMessageSourceResolvable.java
  2. 4
      spring-web/src/main/java/org/springframework/http/client/OkHttpClientHttpResponse.java

4
spring-context/src/main/java/org/springframework/context/support/DefaultMessageSourceResolvable.java

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright 2002-2012 the original author or authors.
* Copyright 2002-2016 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.
@ -127,7 +127,7 @@ public class DefaultMessageSourceResolvable implements MessageSourceResolvable, @@ -127,7 +127,7 @@ public class DefaultMessageSourceResolvable implements MessageSourceResolvable,
protected final String resolvableToString() {
StringBuilder result = new StringBuilder();
result.append("codes [").append(StringUtils.arrayToDelimitedString(this.codes, ","));
result.append("]; arguments [" + StringUtils.arrayToDelimitedString(this.arguments, ","));
result.append("]; arguments [").append(StringUtils.arrayToDelimitedString(this.arguments, ","));
result.append("]; default message [").append(this.defaultMessage).append(']');
return result.toString();
}

4
spring-web/src/main/java/org/springframework/http/client/OkHttpClientHttpResponse.java

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright 2002-2015 the original author or authors.
* Copyright 2002-2016 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.
@ -39,7 +39,7 @@ class OkHttpClientHttpResponse extends AbstractClientHttpResponse { @@ -39,7 +39,7 @@ class OkHttpClientHttpResponse extends AbstractClientHttpResponse {
public OkHttpClientHttpResponse(Response response) {
Assert.notNull(response, "'response' must not be null");
Assert.notNull(response, "Response must not be null");
this.response = response;
}

Loading…
Cancel
Save