DaanHoogland commented on code in PR #13695:
URL: https://github.com/apache/cloudstack/pull/13695#discussion_r3672008992
##########
server/src/main/java/com/cloud/api/ApiResponseHelper.java:
##########
@@ -797,7 +808,7 @@ public static DataStoreRole getDataStoreRole(Snapshot
snapshot, SnapshotDataStor
if (mapCapabilities != null) {
String value =
mapCapabilities.get(DataStoreCapabilities.STORAGE_SYSTEM_SNAPSHOT.toString());
- Boolean supportsStorageSystemSnapshots = new Boolean(value);
+ boolean supportsStorageSystemSnapshots = Boolean.getBoolean(value);
Review Comment:
@PrashantBhanage ,this one makes sense as defensive progamming measure.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]