Polishing

This commit is contained in:
Juergen Hoeller 2016-02-16 22:28:46 +01:00
parent 1253b451f5
commit 5c87afc51d
2 changed files with 4 additions and 4 deletions

View File

@ -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"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -127,7 +127,7 @@ public class DefaultMessageSourceResolvable implements MessageSourceResolvable,
protected final String resolvableToString() { protected final String resolvableToString() {
StringBuilder result = new StringBuilder(); StringBuilder result = new StringBuilder();
result.append("codes [").append(StringUtils.arrayToDelimitedString(this.codes, ",")); 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(']'); result.append("]; default message [").append(this.defaultMessage).append(']');
return result.toString(); return result.toString();
} }

View File

@ -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"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -39,7 +39,7 @@ class OkHttpClientHttpResponse extends AbstractClientHttpResponse {
public OkHttpClientHttpResponse(Response response) { public OkHttpClientHttpResponse(Response response) {
Assert.notNull(response, "'response' must not be null"); Assert.notNull(response, "Response must not be null");
this.response = response; this.response = response;
} }