Polish contribution

See gh-23237
This commit is contained in:
Sam Brannen
2019-07-07 16:24:30 +02:00
parent 6dcf390fa2
commit fae75cb238
4 changed files with 16 additions and 13 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2018 the original author or authors.
* Copyright 2002-2019 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.
@@ -86,11 +86,11 @@ public class PropertyBatchUpdateException extends BeansException {
@Override
public String getMessage() {
StringJoiner sb = new StringJoiner("; ", "Failed properties: ", "");
StringJoiner stringJoiner = new StringJoiner("; ", "Failed properties: ", "");
for (PropertyAccessException exception : this.propertyAccessExceptions) {
sb.add(exception.getMessage());
stringJoiner.add(exception.getMessage());
}
return sb.toString();
return stringJoiner.toString();
}
@Override