Skip to content

Commit

Permalink
Update server/src/main/java/org/opensearch/common/time/JavaDateFormat…
Browse files Browse the repository at this point in the history
…ter.java

Signed-off-by: Andriy Redko <[email protected]>
  • Loading branch information
reta authored Oct 5, 2023
1 parent 6145179 commit 9c7d3ae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ JavaDateFormatter getRoundupParser() {
if (parsers.length == 0) {
this.parsers = Collections.singletonList(printer);
} else {
this.parsers = new ArrayList<>(Arrays.asList(parsers));
this.parsers = Arrays.asList(parsers);
}
List<DateTimeFormatter> roundUp = createRoundUpParser(format, roundupParserConsumer);
this.roundupParser = new RoundUpFormatter(format, roundUp);
Expand Down

0 comments on commit 9c7d3ae

Please sign in to comment.