summaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-08-22 13:28:33 +0200
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-08-22 13:28:33 +0200
commit3f986ef2726c9103081d3782e9149dc11cdfa62e (patch)
tree51c9ba5cf91c7009d2564b25310054fec5bffb20 /src/main
parent7e71d1c86f44617cfd09caedff1107bdcf27b255 (diff)
Add Scalafmt to Spotless configuration.
Change-Id: I789221c34222c263507ade58efda3bf29a6a7fdb
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/eu/mulk/mulkcms2/benki/posts/Post.java6
1 files changed, 3 insertions, 3 deletions
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();