harikrishna-patnala commented on a change in pull request #4553:
URL: https://github.com/apache/cloudstack/pull/4553#discussion_r546595411



##########
File path: utils/src/main/java/com/cloud/utils/StringUtils.java
##########
@@ -313,4 +313,42 @@ public static String mapToString(final Map<String, String> 
map) {
     public static String toCSVList(final List<String> csvList) {
         return join(csvList, ",");
     }
+
+    public static int min(int x, int y, int z)
+    {
+        if (x <= y && x <= z)
+            return x;
+        if (y <= x && y <= z)

Review comment:
       I've taken out minimum method and used min(min(x,y),z)




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to