GutoVeronezi commented on code in PR #5909:
URL: https://github.com/apache/cloudstack/pull/5909#discussion_r1016707356


##########
utils/src/main/java/org/apache/cloudstack/utils/bytescale/ByteScaleUtils.java:
##########
@@ -44,4 +45,14 @@ public static long mibToBytes(long mib) {
     public static long bytesToKib(long b) {
         return b / KiB;
     }
+
+    /**
+     * Converts bytes to mebibytes.
+     *
+     * @param b The value in bytes to convert to mebibytes.
+     * @return The parameter divided by 1024 * 1024 (1 MiB).
+     */
+    public static long bytesToMib(long b) {

Review Comment:
   Thanks, @weizhouapache. I will create a PR to fix these typo.



##########
utils/src/main/java/org/apache/cloudstack/utils/bytescale/ByteScaleUtils.java:
##########
@@ -44,4 +45,14 @@ public static long mibToBytes(long mib) {
     public static long bytesToKib(long b) {
         return b / KiB;
     }
+
+    /**
+     * Converts bytes to mebibytes.
+     *
+     * @param b The value in bytes to convert to mebibytes.
+     * @return The parameter divided by 1024 * 1024 (1 MiB).
+     */
+    public static long bytesToMib(long b) {

Review Comment:
   Thanks, @weizhouapache. I will create a PR to fix these typos.



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

Reply via email to