diff options
Diffstat (limited to 'src/main/java/com/juick/util')
5 files changed, 0 insertions, 25 deletions
diff --git a/src/main/java/com/juick/util/HttpBadRequestException.java b/src/main/java/com/juick/util/HttpBadRequestException.java index 4b4faa4a..386b52df 100644 --- a/src/main/java/com/juick/util/HttpBadRequestException.java +++ b/src/main/java/com/juick/util/HttpBadRequestException.java @@ -25,11 +25,6 @@ import org.springframework.web.bind.annotation.ResponseStatus; */ @ResponseStatus(value = HttpStatus.BAD_REQUEST) public class HttpBadRequestException extends RuntimeException { - /** - * - */ - private static final long serialVersionUID = 2034547017639929277L; - public HttpBadRequestException() { super("the request was bad", null, false, false); } diff --git a/src/main/java/com/juick/util/HttpForbiddenException.java b/src/main/java/com/juick/util/HttpForbiddenException.java index 2684e1ab..e2211574 100644 --- a/src/main/java/com/juick/util/HttpForbiddenException.java +++ b/src/main/java/com/juick/util/HttpForbiddenException.java @@ -26,11 +26,6 @@ import org.springframework.web.bind.annotation.ResponseStatus; */ @ResponseStatus(value = HttpStatus.FORBIDDEN) public class HttpForbiddenException extends RuntimeException { - /** - * - */ - private static final long serialVersionUID = -8001596218646655068L; - public HttpForbiddenException() { super(StringUtils.EMPTY, null, false, false); } diff --git a/src/main/java/com/juick/util/HttpNotFoundException.java b/src/main/java/com/juick/util/HttpNotFoundException.java index 0e8ee9d9..f9d1ffbe 100644 --- a/src/main/java/com/juick/util/HttpNotFoundException.java +++ b/src/main/java/com/juick/util/HttpNotFoundException.java @@ -26,11 +26,6 @@ import org.springframework.web.bind.annotation.ResponseStatus; */ @ResponseStatus(value = HttpStatus.NOT_FOUND) public class HttpNotFoundException extends RuntimeException { - /** - * - */ - private static final long serialVersionUID = 6136243111317477522L; - public HttpNotFoundException() { super(StringUtils.EMPTY, null, false, false); } diff --git a/src/main/java/com/juick/util/PrettyTimeFormatter.java b/src/main/java/com/juick/util/PrettyTimeFormatter.java index 5c736413..34a230f5 100644 --- a/src/main/java/com/juick/util/PrettyTimeFormatter.java +++ b/src/main/java/com/juick/util/PrettyTimeFormatter.java @@ -33,11 +33,6 @@ public class PrettyTimeFormatter { // Cache PrettyTime per locale. LRU cache to prevent memory leak. private static final Map<Locale, PrettyTime> PRETTY_TIME_LOCALE_MAP = new LinkedHashMap<>(MAX_CACHE_SIZE + 1, 1.1F, true) { - /** - * - */ - private static final long serialVersionUID = 1828878791879310392L; - @Override protected boolean removeEldestEntry(Map.Entry<Locale, PrettyTime> eldest) { return size() > MAX_CACHE_SIZE; diff --git a/src/main/java/com/juick/util/UsernameTakenException.java b/src/main/java/com/juick/util/UsernameTakenException.java index 45eb4448..ee787e99 100644 --- a/src/main/java/com/juick/util/UsernameTakenException.java +++ b/src/main/java/com/juick/util/UsernameTakenException.java @@ -18,11 +18,6 @@ package com.juick.util; public class UsernameTakenException extends RuntimeException { - /** - * - */ - private static final long serialVersionUID = -5182991814500998221L; - public UsernameTakenException() { super("Username taken", null, false, false); } |