Update EcsObjectStoreDriverImpl.java

This commit is contained in:
Muhammed Hussein 2025-12-29 13:22:09 +03:00 committed by GitHub
parent af3e8cf695
commit ba4af0c063
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 2 deletions

View File

@ -1357,9 +1357,11 @@ public class EcsObjectStoreDriverImpl extends BaseObjectStoreDriverImpl {
}
private BucketVO resolveBucketVO(final BucketTO bucket) {
if (bucket == null) return null;
if (bucket == null) {
return null;
}
long id = getLongFromGetter(bucket, "getId", -1L);
final long id = getLongFromGetter(bucket, "getId", -1L);
if (id > 0) {
return bucketDao.findById(id);
}