Use consistent block style
Update all code to use a consistent block style. Issue: SPR-16968
This commit is contained in:
committed by
Juergen Hoeller
parent
04a8c285df
commit
866e9d702e
@@ -92,10 +92,11 @@ public class GeneratedKeyHolder implements KeyHolder {
|
||||
if (this.keyList.isEmpty()) {
|
||||
return null;
|
||||
}
|
||||
if (this.keyList.size() > 1)
|
||||
if (this.keyList.size() > 1) {
|
||||
throw new InvalidDataAccessApiUsageException(
|
||||
"The getKeys method should only be used when keys for a single row are returned. " +
|
||||
"The current key list contains keys for multiple rows: " + this.keyList);
|
||||
}
|
||||
return this.keyList.get(0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user