summaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/eu/mulk/mulkcms2/benki/bookmarks/BookmarkResource.java8
-rw-r--r--src/main/java/eu/mulk/mulkcms2/benki/lazychat/LazychatResource.java8
2 files changed, 8 insertions, 8 deletions
diff --git a/src/main/java/eu/mulk/mulkcms2/benki/bookmarks/BookmarkResource.java b/src/main/java/eu/mulk/mulkcms2/benki/bookmarks/BookmarkResource.java
index d026a1a..fcea278 100644
--- a/src/main/java/eu/mulk/mulkcms2/benki/bookmarks/BookmarkResource.java
+++ b/src/main/java/eu/mulk/mulkcms2/benki/bookmarks/BookmarkResource.java
@@ -63,14 +63,14 @@ import org.jsoup.Jsoup;
@Path("/bookmarks")
public class BookmarkResource {
- private static Logger log = Logger.getLogger(BookmarkResource.class);
+ private static final Logger log = Logger.getLogger(BookmarkResource.class);
- private static DateTimeFormatter htmlDateFormatter = DateTimeFormatter.ISO_OFFSET_DATE_TIME;
+ private static final DateTimeFormatter htmlDateFormatter = DateTimeFormatter.ISO_OFFSET_DATE_TIME;
- private static DateTimeFormatter humanDateFormatter =
+ private static final DateTimeFormatter humanDateFormatter =
DateTimeFormatter.ofLocalizedDateTime(FormatStyle.LONG, FormatStyle.SHORT);
- private static JsonProvider jsonProvider = JsonProvider.provider();
+ private static final JsonProvider jsonProvider = JsonProvider.provider();
@ConfigProperty(name = "mulkcms.bookmarks.default-max-results")
int defaultMaxResults;
diff --git a/src/main/java/eu/mulk/mulkcms2/benki/lazychat/LazychatResource.java b/src/main/java/eu/mulk/mulkcms2/benki/lazychat/LazychatResource.java
index cb89e71..74b0b2a 100644
--- a/src/main/java/eu/mulk/mulkcms2/benki/lazychat/LazychatResource.java
+++ b/src/main/java/eu/mulk/mulkcms2/benki/lazychat/LazychatResource.java
@@ -28,14 +28,14 @@ import org.jboss.logging.Logger;
@Path("/lazychat")
public class LazychatResource {
- private static Logger log = Logger.getLogger(LazychatResource.class);
+ private static final Logger log = Logger.getLogger(LazychatResource.class);
- private static DateTimeFormatter htmlDateFormatter = DateTimeFormatter.ISO_OFFSET_DATE_TIME;
+ private static final DateTimeFormatter htmlDateFormatter = DateTimeFormatter.ISO_OFFSET_DATE_TIME;
- private static DateTimeFormatter humanDateFormatter =
+ private static final DateTimeFormatter humanDateFormatter =
DateTimeFormatter.ofLocalizedDateTime(FormatStyle.LONG, FormatStyle.SHORT);
- private static JsonProvider jsonProvider = JsonProvider.provider();
+ private static final JsonProvider jsonProvider = JsonProvider.provider();
@ConfigProperty(name = "mulkcms.lazychat.default-max-results")
int defaultMaxResults;