Skip to content

Commit

Permalink
checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
adithyachakilam committed Nov 3, 2024
1 parent 60a5679 commit f2182d5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1260,9 +1260,9 @@ public void testRunWithMaximumMessageTime() throws Exception
// Check published metadata and segments in deep storage
assertEqualsExceptVersion(
ImmutableList.of(
sdd(String.format("%s/P1D", DateTimes.nowUtc().getYear()), 0, ImmutableList.of("a")),
sdd(String.format("%s/P1D", DateTimes.nowUtc().minusYears(1).getYear()), 0, ImmutableList.of("b")),
sdd(String.format("%s/P1D", DateTimes.nowUtc().minusYears(2).getYear()), 0, ImmutableList.of("c"))
sdd(StringUtils.format("%s/P1D", DateTimes.nowUtc().getYear()), 0, ImmutableList.of("a")),
sdd(StringUtils.format("%s/P1D", DateTimes.nowUtc().minusYears(1).getYear()), 0, ImmutableList.of("b")),
sdd(StringUtils.format("%s/P1D", DateTimes.nowUtc().minusYears(2).getYear()), 0, ImmutableList.of("c"))
),
publishedDescriptors()
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -891,9 +891,9 @@ public void testRunWithMaximumMessageTime() throws Exception
// Check published metadata and segments in deep storage
assertEqualsExceptVersion(
ImmutableList.of(
sdd(String.format("%s/P1D", DateTimes.nowUtc().getYear()), 0, ImmutableList.of("a")),
sdd(String.format("%s/P1D", DateTimes.nowUtc().minusYears(1).getYear()), 0, ImmutableList.of("b")),
sdd(String.format("%s/P1D", DateTimes.nowUtc().minusYears(2).getYear()), 0, ImmutableList.of("c"))
sdd(StringUtils.format("%s/P1D", DateTimes.nowUtc().getYear()), 0, ImmutableList.of("a")),
sdd(StringUtils.format("%s/P1D", DateTimes.nowUtc().minusYears(1).getYear()), 0, ImmutableList.of("b")),
sdd(StringUtils.format("%s/P1D", DateTimes.nowUtc().minusYears(2).getYear()), 0, ImmutableList.of("c"))
),
publishedDescriptors()
);
Expand Down

0 comments on commit f2182d5

Please sign in to comment.