From 22546723aa27db95b9ababc19b38482f98129ec0 Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Wed, 2 Nov 2022 05:35:08 +0100 Subject: style: Reformat. Change-Id: Ie32d4f528cec794d03536eaf402de31ab2e9468e --- src/main/java/eu/mulk/mulkcms2/benki/posts/PostResource.java | 4 ---- src/main/java/eu/mulk/mulkcms2/benki/wiki/WikiResource.java | 4 ---- .../java/eu/mulk/mulkcms2/common/template/TemporalExtensions.java | 1 - 3 files changed, 9 deletions(-) (limited to 'src/main/java/eu') diff --git a/src/main/java/eu/mulk/mulkcms2/benki/posts/PostResource.java b/src/main/java/eu/mulk/mulkcms2/benki/posts/PostResource.java index d6fe538..c8d7657 100644 --- a/src/main/java/eu/mulk/mulkcms2/benki/posts/PostResource.java +++ b/src/main/java/eu/mulk/mulkcms2/benki/posts/PostResource.java @@ -23,7 +23,6 @@ import eu.mulk.mulkcms2.benki.posts.Post.Scope; import eu.mulk.mulkcms2.benki.users.User; import io.quarkus.mailer.MailTemplate.MailTemplateInstance; import io.quarkus.qute.CheckedTemplate; -import io.quarkus.qute.TemplateExtension; import io.quarkus.qute.TemplateInstance; import io.quarkus.security.identity.SecurityIdentity; import io.smallrye.mutiny.Uni; @@ -36,9 +35,6 @@ import java.security.SecureRandom; import java.time.Instant; import java.time.OffsetDateTime; import java.time.ZoneOffset; -import java.time.format.DateTimeFormatter; -import java.time.format.FormatStyle; -import java.time.temporal.TemporalAccessor; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; diff --git a/src/main/java/eu/mulk/mulkcms2/benki/wiki/WikiResource.java b/src/main/java/eu/mulk/mulkcms2/benki/wiki/WikiResource.java index cd10267..6351aab 100644 --- a/src/main/java/eu/mulk/mulkcms2/benki/wiki/WikiResource.java +++ b/src/main/java/eu/mulk/mulkcms2/benki/wiki/WikiResource.java @@ -6,7 +6,6 @@ import static javax.ws.rs.core.MediaType.TEXT_HTML; import eu.mulk.mulkcms2.benki.users.User; import io.quarkus.panache.common.Sort; import io.quarkus.qute.CheckedTemplate; -import io.quarkus.qute.TemplateExtension; import io.quarkus.qute.TemplateInstance; import io.quarkus.security.Authenticated; import io.quarkus.security.identity.SecurityIdentity; @@ -14,9 +13,6 @@ import java.net.URI; import java.net.URISyntaxException; import java.time.OffsetDateTime; import java.time.ZoneOffset; -import java.time.format.DateTimeFormatter; -import java.time.format.FormatStyle; -import java.time.temporal.TemporalAccessor; import java.util.Optional; import javax.annotation.CheckForNull; import javax.inject.Inject; diff --git a/src/main/java/eu/mulk/mulkcms2/common/template/TemporalExtensions.java b/src/main/java/eu/mulk/mulkcms2/common/template/TemporalExtensions.java index 858b557..ba6febe 100644 --- a/src/main/java/eu/mulk/mulkcms2/common/template/TemporalExtensions.java +++ b/src/main/java/eu/mulk/mulkcms2/common/template/TemporalExtensions.java @@ -56,5 +56,4 @@ public class TemporalExtensions { } return htmlDateFormatter.format(x); } - } -- cgit v1.2.3