Ver Fonte

processorType fix_bug:#I5X10K

rename type to processorType
MaxKey há 2 anos atrás
pai
commit
8e7423773b

+ 5 - 4
maxkey-core/src/main/java/org/maxkey/web/InitializeContext.java

@@ -201,14 +201,15 @@ public class InitializeContext extends HttpServlet {
             _logger.trace(key + "   =   {}" , map.get(key));
         }
         _logger.debug("APP_HOME" + "   =   {}" , PathUtils.getInstance().getAppPath());
-        Processor.Type type = ArchUtils.getProcessor().getType();
-        if (Objects.isNull(type)){
-            type = Processor.Type.UNKNOWN;
+        
+        Processor.Type processorType = ArchUtils.getProcessor().getType();
+        if (Objects.isNull(processorType)){
+        	processorType = Processor.Type.UNKNOWN;
         }
         _logger.debug("OS      : {}({} {}), version {}",
                     SystemUtils.OS_NAME,
                     SystemUtils.OS_ARCH,
-                    type,
+                    processorType,
                     SystemUtils.OS_VERSION
                     
                 );