Bläddra i källkod

processorType fix_bug:#I5X10K

rename type to processorType
MaxKey 2 år sedan
förälder
incheckning
8e7423773b
1 ändrade filer med 5 tillägg och 4 borttagningar
  1. 5 4
      maxkey-core/src/main/java/org/maxkey/web/InitializeContext.java

+ 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
                     
                 );