Loading src/main/java/ecorp/easy/installer/utils/ConfigParser.java +3 −0 Original line number Diff line number Diff line Loading @@ -236,6 +236,8 @@ public class ConfigParser { * @throws java.text.ParseException */ public static HashMap<String, String> parseSourcesToDownload(HashMap yaml) throws ParseException, ClassCastException{ logger.info("parseSourcesToDownload(...yaml...)"); HashMap<String, String> result = new HashMap<>(); for(String key : (Set<String>) yaml.keySet() ){ Loading @@ -246,6 +248,7 @@ public class ConfigParser { if(key.equals("twrp")){ AppConstants.setTwrpImgPath((String) source.get("filePath")); } logger.debug("--> url: {}, filePath: {}", source.get("url"), source.get("filePath")); result.put((String) source.get("url"), (String) source.get("filePath")); } return result; Loading Loading
src/main/java/ecorp/easy/installer/utils/ConfigParser.java +3 −0 Original line number Diff line number Diff line Loading @@ -236,6 +236,8 @@ public class ConfigParser { * @throws java.text.ParseException */ public static HashMap<String, String> parseSourcesToDownload(HashMap yaml) throws ParseException, ClassCastException{ logger.info("parseSourcesToDownload(...yaml...)"); HashMap<String, String> result = new HashMap<>(); for(String key : (Set<String>) yaml.keySet() ){ Loading @@ -246,6 +248,7 @@ public class ConfigParser { if(key.equals("twrp")){ AppConstants.setTwrpImgPath((String) source.get("filePath")); } logger.debug("--> url: {}, filePath: {}", source.get("url"), source.get("filePath")); result.put((String) source.get("url"), (String) source.get("filePath")); } return result; Loading