aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-12-28 22:09:05 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2020-12-28 22:09:05 -0800
commit91a940c9074c57b560fc6d7fe8a5304933ccde89 (patch)
treeed4b4f8fe5daf15dfd16db1e2e5dd44206679bf5 /src/main
parent4f3d413a3003d7b9295c2e6801e7f3033738f65e (diff)
downloadtraccar-server-91a940c9074c57b560fc6d7fe8a5304933ccde89.tar.gz
traccar-server-91a940c9074c57b560fc6d7fe8a5304933ccde89.tar.bz2
traccar-server-91a940c9074c57b560fc6d7fe8a5304933ccde89.zip
Make final
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/traccar/model/Permission.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main/java/org/traccar/model/Permission.java b/src/main/java/org/traccar/model/Permission.java
index 1006b1c47..6475a4582 100644
--- a/src/main/java/org/traccar/model/Permission.java
+++ b/src/main/java/org/traccar/model/Permission.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2017 Anton Tananaev (anton@traccar.org)
+ * Copyright 2017 - 2020 Anton Tananaev (anton@traccar.org)
* Copyright 2017 Andrey Kunitsyn (andrey@traccar.org)
*
* Licensed under the Apache License, Version 2.0 (the "License");
@@ -24,10 +24,10 @@ import org.traccar.database.DataManager;
public class Permission {
- private Class<?> ownerClass;
- private long ownerId;
- private Class<?> propertyClass;
- private long propertyId;
+ private final Class<?> ownerClass;
+ private final long ownerId;
+ private final Class<?> propertyClass;
+ private final long propertyId;
public Permission(LinkedHashMap<String, Long> permissionMap) throws ClassNotFoundException {
Iterator<Map.Entry<String, Long>> iterator = permissionMap.entrySet().iterator();