in appactive-java-client/client-support/src/main/java/io/appactive/support/sys/SysUtil.java [81:111]
private static void initSDKVersion() {
Properties properties = new Properties();
ClassLoader classLoader = SysUtil.class.getClassLoader();
if (classLoader == null){
return;
}
InputStream in = classLoader.getResourceAsStream("sdk-version.properties");
if (in == null){
return;
}
try {
properties.load(in);
String version = properties.getProperty("version");
if (StringUtils.isNotBlank(version)) {
SDK_VERSION = version;
}
logger.info("SDK_VERSION:{}", SDK_VERSION);
} catch (Exception var11) {
logger.error("router_00501", "[sdk property]load property error.e:" + var11.getMessage(), var11);
} finally {
if (in != null) {
try {
in.close();
} catch (IOException var10) {
var10.printStackTrace();
}
}
}
}