aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/helper/LogAction.java
diff options
context:
space:
mode:
authordeveloperKurt <mustafakurt.business@gmail.com>2020-01-02 09:17:23 +0300
committerdeveloperKurt <mustafakurt.business@gmail.com>2020-01-02 09:17:23 +0300
commitaff84ec3ae6faf7d930319329d8750634195445a (patch)
tree9a5bcf6da0ef088112de92be591d71e1a1d2f7d9 /src/main/java/org/traccar/helper/LogAction.java
parent1c43e31b622eba08b14079c03f9ad1861b4a0868 (diff)
downloadtrackermap-server-aff84ec3ae6faf7d930319329d8750634195445a.tar.gz
trackermap-server-aff84ec3ae6faf7d930319329d8750634195445a.tar.bz2
trackermap-server-aff84ec3ae6faf7d930319329d8750634195445a.zip
Implemented project's code style
Diffstat (limited to 'src/main/java/org/traccar/helper/LogAction.java')
-rw-r--r--src/main/java/org/traccar/helper/LogAction.java8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/main/java/org/traccar/helper/LogAction.java b/src/main/java/org/traccar/helper/LogAction.java
index 1fbd78c4d..21fe4c3fa 100644
--- a/src/main/java/org/traccar/helper/LogAction.java
+++ b/src/main/java/org/traccar/helper/LogAction.java
@@ -78,11 +78,9 @@ public final class LogAction {
public static void failedLogin(String ipAddress) {
- if(ipAddress == null || ipAddress.isEmpty()) {
+ if (ipAddress == null || ipAddress.isEmpty()) {
LOGGER.info(ACTION_FAILED_LOGIN_NO_IP);
- }
-
- else{
+ } else {
LOGGER.info(String.format(
PATTERN_FAILED_LOGIN, ipAddress));
}
@@ -101,7 +99,7 @@ public final class LogAction {
}
private static void logLinkAction(String action, long userId,
- Class<?> owner, long ownerId, Class<?> property, long propertyId) {
+ Class<?> owner, long ownerId, Class<?> property, long propertyId) {
LOGGER.info(String.format(
PATTERN_LINK, userId, action,
Introspector.decapitalize(owner.getSimpleName()), ownerId,