update at 2021-01-18 16:17:14 by ehlxr

This commit is contained in:
2021-01-18 16:17:14 +08:00
parent 55dd9517b1
commit 1ff60d6808
9 changed files with 42 additions and 42 deletions

View File

@@ -6,7 +6,7 @@ import java.util.Map;
* @author ehlxr
*/
public class Constants {
private static Map<String, String> SYS_ENV = System.getenv();
private static final Map<String, String> SYS_ENV = System.getenv();
public static String getEnv(String key) {
return SYS_ENV.get(key) == null ? "" : SYS_ENV.get(key);