From 92f1d85ddc449ce7452f9d52f8b081e6b69c720b Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期三, 27 一月 2021 15:29:08 +0800 Subject: [PATCH] update .gitignore --- utils/src/main/java/org/yeshi/utils/SystemUtil.java | 40 ++++++++++++++++++++-------------------- 1 files changed, 20 insertions(+), 20 deletions(-) diff --git a/utils/src/main/java/org/yeshi/utils/SystemUtil.java b/utils/src/main/java/org/yeshi/utils/SystemUtil.java index 7e9c2aa..2db4804 100644 --- a/utils/src/main/java/org/yeshi/utils/SystemUtil.java +++ b/utils/src/main/java/org/yeshi/utils/SystemUtil.java @@ -1,20 +1,20 @@ -package org.yeshi.utils; - -public class SystemUtil { - public final static int SYSTEM_WINDOWS = 1; - public final static int SYSTEM_LINUX = 2; - - /** - * 鑾峰彇鎿嶄綔绯荤粺绫诲瀷 - * - * @return - */ - public static int getSystemType() { - String os = System.getProperty("os.name"); - if (os.toLowerCase().startsWith("win")) - return SYSTEM_WINDOWS; - else - return SYSTEM_LINUX; - } - -} +package org.yeshi.utils; + +public class SystemUtil { + public final static int SYSTEM_WINDOWS = 1; + public final static int SYSTEM_LINUX = 2; + + /** + * 鑾峰彇鎿嶄綔绯荤粺绫诲瀷 + * + * @return + */ + public static int getSystemType() { + String os = System.getProperty("os.name"); + if (os.toLowerCase().startsWith("win")) + return SYSTEM_WINDOWS; + else + return SYSTEM_LINUX; + } + +} -- Gitblit v1.8.0