Skip to content

Commit cbd780d

Browse files
author
Sina Kashipazha
committed
Fixed spaces.
1 parent d41b99c commit cbd780d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

engine/schema/src/main/java/com/cloud/capacity/dao/CapacityDaoImpl.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ public Ternary<Long, Long, Long> findCapacityByZoneAndHostTag(Long zoneId, Strin
437437
allocatedSql.append(LEFT_JOIN_VM_TEMPLATE);
438438
}
439439
allocatedSql.append(WHERE_STATE_IS_NOT_DESTRUCTIVE);
440-
if (zoneId != null){
440+
if (zoneId != null) {
441441
allocatedSql.append(" AND vi.data_center_id = ?");
442442
}
443443
if (hostTag != null && ! hostTag.isEmpty()) {
@@ -449,7 +449,7 @@ public Ternary<Long, Long, Long> findCapacityByZoneAndHostTag(Long zoneId, Strin
449449
try {
450450
// add allocated capacity of zone in result
451451
pstmt = txn.prepareAutoCloseStatement(allocatedSql.toString());
452-
if (zoneId != null){
452+
if (zoneId != null) {
453453
pstmt.setLong(1, zoneId);
454454
}
455455
ResultSet rs = pstmt.executeQuery();

0 commit comments

Comments
 (0)