From 3f986ef2726c9103081d3782e9149dc11cdfa62e Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Sat, 22 Aug 2020 13:28:33 +0200 Subject: Add Scalafmt to Spotless configuration. Change-Id: I789221c34222c263507ade58efda3bf29a6a7fdb --- src/main/java/eu/mulk/mulkcms2/benki/posts/Post.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/main/java/eu') diff --git a/src/main/java/eu/mulk/mulkcms2/benki/posts/Post.java b/src/main/java/eu/mulk/mulkcms2/benki/posts/Post.java index aa15fa2..2bd9ade 100644 --- a/src/main/java/eu/mulk/mulkcms2/benki/posts/Post.java +++ b/src/main/java/eu/mulk/mulkcms2/benki/posts/Post.java @@ -104,9 +104,9 @@ public abstract class Post extends PanacheEntityBase { @CheckForNull public final String getDescriptionHtml() { - if (cachedDescriptionHtml != null && - cachedDescriptionVersion != null && - cachedDescriptionVersion >= DESCRIPTION_CACHE_VERSION){ + if (cachedDescriptionHtml != null + && cachedDescriptionVersion != null + && cachedDescriptionVersion >= DESCRIPTION_CACHE_VERSION) { return cachedDescriptionHtml; } else { @CheckForNull var descriptionHtml = computeDescriptionHtml(); -- cgit v1.2.3