mirror of
https://github.com/google/nomulus
synced 2026-08-21 22:56:19 +00:00
Use compound return statements for greater readability
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=173451653
This commit is contained in:
@@ -81,10 +81,7 @@ public class GcsUtils {
|
||||
logger.warning(e, "Failed to check if GCS file exists");
|
||||
return false;
|
||||
}
|
||||
if (metadata == null) {
|
||||
return false;
|
||||
}
|
||||
return metadata.getLength() > 0;
|
||||
return metadata != null && metadata.getLength() > 0;
|
||||
}
|
||||
|
||||
/** Determines most appropriate {@link GcsFileOptions} based on filename extension. */
|
||||
|
||||
Reference in New Issue
Block a user