summaryrefslogtreecommitdiff
path: root/src/main/java/eu
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2022-11-02 05:35:08 +0100
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2022-11-02 05:35:27 +0100
commit22546723aa27db95b9ababc19b38482f98129ec0 (patch)
treeeba7ae499bbafec387cc8b36dfc38689ab546c0b /src/main/java/eu
parenta84be3bc9944ec08e361e73e043ee4aa9d4d474a (diff)
style: Reformat.
Change-Id: Ie32d4f528cec794d03536eaf402de31ab2e9468e
Diffstat (limited to 'src/main/java/eu')
-rw-r--r--src/main/java/eu/mulk/mulkcms2/benki/posts/PostResource.java4
-rw-r--r--src/main/java/eu/mulk/mulkcms2/benki/wiki/WikiResource.java4
-rw-r--r--src/main/java/eu/mulk/mulkcms2/common/template/TemporalExtensions.java1
3 files changed, 0 insertions, 9 deletions
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);
}
-
}