|  |  | 
 |  |  |         String filePath = path + "/" + fzId + "/" + "result.xml"; | 
 |  |  |         List<WeakDto> list = new ArrayList<>(); | 
 |  |  |         Map<Long, WeakDto> map = new HashMap<>(); | 
 |  |  |         String xml = null; | 
 |  |  |         String xml; | 
 |  |  |         InputStream in = null; | 
 |  |  |         try { | 
 |  |  |             in = new FileInputStream(filePath); | 
 |  |  | 
 |  |  |         JSONArray jsonArray = xmlJSONObj.getJSONObject("ResultNodes").getJSONArray("ResultNode"); | 
 |  |  |         for (int i = 0; i < jsonArray.size(); i++) { | 
 |  |  |             WeakDto data = new WeakDto(); | 
 |  |  |             Long productId1 = null; | 
 |  |  |             Long productId1; | 
 |  |  |             Object nameValue = jsonArray.getJSONObject(i).get("name"); | 
 |  |  |             if (nameValue instanceof Long) { | 
 |  |  |                 productId1 = (Long) nameValue; | 
 |  |  | 
 |  |  |             this.update(simulatAssess); | 
 |  |  |         } | 
 |  |  |         String filePath = path + "/" + simulatAssess.getId() + "/" + "result.xml"; | 
 |  |  |         String xml = null; | 
 |  |  |         String xml; | 
 |  |  |         InputStream in = null; | 
 |  |  |  | 
 |  |  |         try { |