From a610d1e36c842c116ec7eff8d554160f82e35908 Mon Sep 17 00:00:00 2001 From: Marcono1234 Date: Sun, 27 Oct 2024 00:45:04 +0200 Subject: [PATCH] Fix incorrect date format pattern in unit test --- .../com/github/benmanes/caffeine/cache/issues/Issue30Test.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/caffeine/src/test/java/com/github/benmanes/caffeine/cache/issues/Issue30Test.java b/caffeine/src/test/java/com/github/benmanes/caffeine/cache/issues/Issue30Test.java index b290ccc5f8..21bef78bdf 100644 --- a/caffeine/src/test/java/com/github/benmanes/caffeine/cache/issues/Issue30Test.java +++ b/caffeine/src/test/java/com/github/benmanes/caffeine/cache/issues/Issue30Test.java @@ -151,7 +151,7 @@ private static FutureSubject assertThat(String message, CompletableFuture act static final class Loader implements AsyncCacheLoader { private static final DateTimeFormatter FORMATTER = - DateTimeFormatter.ofPattern("hh:MM:ss.SSS", US); + DateTimeFormatter.ofPattern("HH:mm:ss.SSS", US); final ConcurrentMap source; final ConcurrentMap lastLoad;