maksaska commented on code in PR #12017:
URL: https://github.com/apache/ignite/pull/12017#discussion_r2106164290


##########
modules/core/src/main/java/org/apache/ignite/internal/pagemem/impl/PageMemoryNoStoreImpl.java:
##########
@@ -156,7 +157,7 @@ public class PageMemoryNoStoreImpl implements PageMemory {
     /** Concurrency lvl. */
     private final int lockConcLvl = IgniteSystemProperties.getInteger(
         IGNITE_OFFHEAP_LOCK_CONCURRENCY_LEVEL,
-        U.nearestPow2(Runtime.getRuntime().availableProcessors() * 4, true)
+        CommonUtils.nearestPow2(Runtime.getRuntime().availableProcessors() * 
4, true)

Review Comment:
   Fixed



##########
modules/core/src/test/java/org/apache/ignite/platform/PlatformTestUtils.java:
##########
@@ -29,7 +29,7 @@ public class PlatformTestUtils {
      * @return Major version.
      */
     public static int majorJavaVersion() {
-        return U.majorJavaVersion(System.getProperty("java.version"));
+        return 
CommonUtils.majorJavaVersion(System.getProperty("java.version"));

Review Comment:
   Fixed



##########
modules/core/src/test/java/org/apache/ignite/testframework/GridTestUtils.java:
##########
@@ -1838,7 +1839,7 @@ public static void setFieldValue(Object obj, Class cls, 
String fieldName, Object
             if (isFinal && isStatic)
                 throw new IgniteException("Modification of static final field 
through reflection.");
 
-            if (isFinal && U.majorJavaVersion(U.jdkVersion()) >= 12) {
+            if (isFinal && 
CommonUtils.majorJavaVersion(CommonUtils.jdkVersion()) >= 12) {

Review Comment:
   Fixed



-- 
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: notifications-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to