diff options
author | Anton Tananaev <anton@traccar.org> | 2024-01-14 08:23:28 -0800 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2024-01-14 08:23:28 -0800 |
commit | 172422eb5262a8e0ff560b689504c0365c8e0503 (patch) | |
tree | 5b146b6b9f9bee0f2609430e3cbc53927c707191 /src/main/java/org/traccar/WindowsService.java | |
parent | 093cc360cd1ac64b50b59780b621a58a043e1623 (diff) | |
download | trackermap-server-172422eb5262a8e0ff560b689504c0365c8e0503.tar.gz trackermap-server-172422eb5262a8e0ff560b689504c0365c8e0503.tar.bz2 trackermap-server-172422eb5262a8e0ff560b689504c0365c8e0503.zip |
Fix style issues
Diffstat (limited to 'src/main/java/org/traccar/WindowsService.java')
-rw-r--r-- | src/main/java/org/traccar/WindowsService.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/traccar/WindowsService.java b/src/main/java/org/traccar/WindowsService.java index f233337a7..08eba25a6 100644 --- a/src/main/java/org/traccar/WindowsService.java +++ b/src/main/java/org/traccar/WindowsService.java @@ -170,7 +170,7 @@ public abstract class WindowsService { public abstract void run(); - private class ServiceMain implements SERVICE_MAIN_FUNCTION { + private final class ServiceMain implements SERVICE_MAIN_FUNCTION { public void callback(int dwArgc, Pointer lpszArgv) { ServiceControl serviceControl = new ServiceControl(); @@ -203,7 +203,7 @@ public abstract class WindowsService { } - private class ServiceControl implements HandlerEx { + private final class ServiceControl implements HandlerEx { public int callback(int dwControl, int dwEventType, Pointer lpEventData, Pointer lpContext) { switch (dwControl) { |