Skip to content

Commit ba4af0c

Browse files
authored
Update EcsObjectStoreDriverImpl.java
1 parent af3e8cf commit ba4af0c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

plugins/storage/object/ECS/src/main/java/org/apache/cloudstack/storage/datastore/driver/EcsObjectStoreDriverImpl.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1357,9 +1357,11 @@ private static long getLongFromGetter(final Object o, final String getter, final
13571357
}
13581358

13591359
private BucketVO resolveBucketVO(final BucketTO bucket) {
1360-
if (bucket == null) return null;
1360+
if (bucket == null) {
1361+
return null;
1362+
}
13611363

1362-
long id = getLongFromGetter(bucket, "getId", -1L);
1364+
final long id = getLongFromGetter(bucket, "getId", -1L);
13631365
if (id > 0) {
13641366
return bucketDao.findById(id);
13651367
}

0 commit comments

Comments
 (0)