Skip to content

Commit

Permalink
Removing unnecessary code style change
Browse files Browse the repository at this point in the history
  • Loading branch information
baubakg committed Oct 4, 2024
1 parent 7bfb886 commit 1c3a148
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -542,8 +542,7 @@ public File exportLogDataToJSON(Collection<String> in_headerSet, String in_jsonF

try {
ObjectMapper objectMapper = new ObjectMapper();
objectMapper.writeValue(l_exportFile,
objectMapper.writerWithDefaultPrettyPrinter().writeValueAsString(jsonList));
objectMapper.writeValue(l_exportFile, objectMapper.writerWithDefaultPrettyPrinter().writeValueAsString(jsonList));
} catch (IOException e) {

Check warning on line 546 in src/main/java/com/adobe/campaign/tests/logparser/core/LogData.java

View check run for this annotation

Codecov / codecov/patch

src/main/java/com/adobe/campaign/tests/logparser/core/LogData.java#L546

Added line #L546 was not covered by tests
throw new LogDataExportToFileException("Encountered error while exporting the log data to a JSON file.", e);
}
Expand Down

0 comments on commit 1c3a148

Please sign in to comment.