aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/model
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/traccar/model')
-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();