diff options
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/eu/mulk/mulkcms2/benki/posts/Post.java | 6 |
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(); |