This commit is contained in:
Madhura Bhave 2018-06-01 15:02:46 -07:00
parent 458d574d1f
commit 37a7457f36
2 changed files with 4 additions and 2 deletions

View File

@ -71,7 +71,8 @@ class CollectionBinder extends IndexedElementsBinder<Collection<Object>> {
}
}
private Collection<Object> getExistingIfPossible(Supplier<Collection<Object>> existing) {
private Collection<Object> getExistingIfPossible(
Supplier<Collection<Object>> existing) {
try {
return existing.get();
}

View File

@ -100,7 +100,8 @@ class MapBinder extends AggregateBinder<Map<Object, Object>> {
}
}
private Map<Object, Object> getExistingIfPossible(Supplier<Map<Object, Object>> existing) {
private Map<Object, Object> getExistingIfPossible(
Supplier<Map<Object, Object>> existing) {
try {
return existing.get();
}