Skip to content

Commit 3b14b87

Browse files
committed
Address review
1 parent 4f52ac8 commit 3b14b87

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

api/src/main/java/org/apache/cloudstack/api/command/user/vpc/DeleteStaticRouteCmd.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public String getEventType() {
6969

7070
@Override
7171
public String getEventDescription() {
72-
return "Deleting static route with ID:" + getResourceUuid(ApiConstants.ID);
72+
return "Deleting static route with ID: " + getResourceUuid(ApiConstants.ID);
7373
}
7474

7575
@Override

api/src/main/java/org/apache/cloudstack/api/command/user/vpc/RestartVPCCmd.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public String getEventType() {
118118

119119
@Override
120120
public String getEventDescription() {
121-
return "Restarting VPC with ID:" + getResourceUuid(ApiConstants.ID);
121+
return "Restarting VPC with ID: " + getResourceUuid(ApiConstants.ID);
122122
}
123123

124124
@Override

api/src/main/java/org/apache/cloudstack/api/command/user/vpn/DeleteRemoteAccessVpnCmd.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public long getEntityOwnerId() {
7676

7777
@Override
7878
public String getEventDescription() {
79-
return "Delete Remote Access VPN for Account " + getEntityOwnerId() + " for IP:" + getResourceUuid(ApiConstants.PUBLIC_IP_ID);
79+
return "Delete Remote Access VPN for Account " + getEntityOwnerId() + " for IP: " + getResourceUuid(ApiConstants.PUBLIC_IP_ID);
8080
}
8181

8282
@Override

plugins/network-elements/palo-alto/src/main/java/com/cloud/api/commands/ConfigurePaloAltoFirewallCmd.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public void execute() throws ResourceUnavailableException, InsufficientCapacityE
100100

101101
@Override
102102
public String getEventDescription() {
103-
return "Configuring Palo Alto firewall device";
103+
return "Configuring Palo Alto firewall device with ID: " + getResourceUuid(ApiConstants.FIREWALL_DEVICE_ID);
104104
}
105105

106106
@Override

server/src/main/java/com/cloud/api/dispatch/ParamProcessWorker.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ private Long translateUuidToInternalId(final String uuid, final Parameter annota
529529
} catch (final NumberFormatException e) {
530530
internalId = null;
531531
}
532-
if (internalId != null){
532+
if (internalId != null) {
533533
// Populate CallContext for each of the entity.
534534
for (final Class<?> entity : entities) {
535535
CallContext.current().putContextParameter(entity, internalId);

0 commit comments

Comments
 (0)