T235 removed JSON object
This commit is contained in:
		| @@ -63,12 +63,10 @@ public class EventRepositoryImpl implements EventRepository { | ||||
|     private List<Event> parseEvents(List<String> eventStrings) { | ||||
|         List<Event> events = new ArrayList<>(); | ||||
|         for (String eventString : eventStrings) { | ||||
|             eventString = eventString.replaceAll("\\R", ""); | ||||
|             try { | ||||
|                 eventString = eventString.replaceAll("\\R", ""); | ||||
|                 events.add(objectMapper.readValue(eventString, Event.class)); | ||||
|                 JSONObject jsonObject = new JSONObject(eventString); | ||||
|  | ||||
|             } catch (JsonProcessingException | JSONException e) { | ||||
|             } catch (JsonProcessingException e) { | ||||
|                 e.printStackTrace(); | ||||
|             } | ||||
|         } | ||||
|   | ||||
										
											Binary file not shown.
										
									
								
							
		Reference in New Issue
	
	Block a user