Skip to content

Commit 2aaf506

Browse files
Apply suggestions from code review
Co-authored-by: dahn <[email protected]>
1 parent 6cd947b commit 2aaf506

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

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

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

6767
@Override
6868
public String getEventDescription() {
69-
return "Updating site-to-site VPN connection id = " + id;
69+
return "Updating site-to-site VPN connection ID = " + id;
7070
}
7171

7272
@Override

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

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

6464
@Override
6565
public String getEventDescription() {
66-
return "Update site-to-site VPN gateway id = " + id;
66+
return "Update site-to-site VPN gateway ID = " + id;
6767
}
6868

6969
@Override

engine/schema/src/main/java/com/cloud/vm/dao/UserVmDaoImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -782,7 +782,7 @@ public List<Ternary<Integer, Integer, Integer>> countVmsBySize(long dcId, int li
782782
result.add(new Ternary<Integer, Integer, Integer>(rs.getInt(1), rs.getInt(2), rs.getInt(3)));
783783
}
784784
} catch (Exception e) {
785-
logger.warn("Error counting vms by size for dcId = " + dcId, e);
785+
logger.warn("Error counting vms by size for Data Center ID = " + dcId, e);
786786
}
787787
return result;
788788
}

server/src/main/java/com/cloud/api/query/QueryManagerImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2105,7 +2105,7 @@ private Pair<List<ProjectJoinVO>, Integer> listProjectsInternal(ListProjectsCmd
21052105
}
21062106

21072107
if (domainId != null && !domainId.equals(caller.getDomainId())) {
2108-
throw new PermissionDeniedException("Can't list domain id = " + domainId + " projects; unauthorized");
2108+
throw new PermissionDeniedException("Can't list domain ID = " + domainId + " projects; unauthorized");
21092109
}
21102110

21112111
if (StringUtils.isNotEmpty(username) && !username.equals(user.getUsername())) {

0 commit comments

Comments
 (0)