From 91a940c9074c57b560fc6d7fe8a5304933ccde89 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Mon, 28 Dec 2020 22:09:05 -0800 Subject: Make final --- src/main/java/org/traccar/model/Permission.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src') 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 permissionMap) throws ClassNotFoundException { Iterator> iterator = permissionMap.entrySet().iterator(); -- cgit v1.2.3