- private static ArrayList<EsrSystemInfo> getAuthInfosFromRegisterData(EmsRegisterInfo emsRegisterInfo) {
- ArrayList<EsrSystemInfo> authInfos = new ArrayList<EsrSystemInfo>();
- EsrSystemInfo resouceAuthInfo = new EsrSystemInfo();
- EsrSystemInfo performanceAuthInfo = new EsrSystemInfo();
- EsrSystemInfo alarmAuthInfo = new EsrSystemInfo();
- resouceAuthInfo = getAuthInfoFromFtpAddr(emsRegisterInfo, SystemType.EMS_RESOUCE.toString());
- performanceAuthInfo = getAuthInfoFromFtpAddr(emsRegisterInfo, SystemType.EMS_PERFORMANCE.toString());
- alarmAuthInfo = getAuthInfoFromAlarmAddr(emsRegisterInfo);
+ private List<EsrSystemInfo> getAuthInfosFromRegisterData(EmsRegisterInfo emsRegisterInfo) {
+ List<EsrSystemInfo> authInfos = new ArrayList<>();
+ EsrSystemInfo resouceAuthInfo = getAuthInfoFromFtpAddr(emsRegisterInfo, SystemType.EMS_RESOUCE.toString());
+ EsrSystemInfo performanceAuthInfo = getAuthInfoFromFtpAddr(emsRegisterInfo, SystemType.EMS_PERFORMANCE.toString());
+ EsrSystemInfo alarmAuthInfo = getAuthInfoFromAlarmAddr(emsRegisterInfo);