aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/model
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-01-16 16:27:51 +0500
committerAbyss777 <abyss@fox5.ru>2017-01-16 16:34:31 +0500
commit8a19ed9994e6bdd531faa3021711fc0e89497ca8 (patch)
treefa53e0b262be74b3bf4dd429219a4e20236493c9 /src/org/traccar/model
parentb5eb48cbba215ca55c1a5e5ae5fae5b375243247 (diff)
downloadtraccar-server-8a19ed9994e6bdd531faa3021711fc0e89497ca8.tar.gz
traccar-server-8a19ed9994e6bdd531faa3021711fc0e89497ca8.tar.bz2
traccar-server-8a19ed9994e6bdd531faa3021711fc0e89497ca8.zip
- Rename otherUserId to managedUserId
- Optimize getManaged* functions
Diffstat (limited to 'src/org/traccar/model')
-rw-r--r--src/org/traccar/model/UserPermission.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/org/traccar/model/UserPermission.java b/src/org/traccar/model/UserPermission.java
index fce98edf0..39ead5ef1 100644
--- a/src/org/traccar/model/UserPermission.java
+++ b/src/org/traccar/model/UserPermission.java
@@ -28,14 +28,14 @@ public class UserPermission {
this.userId = userId;
}
- private long otherUserId;
+ private long managedUserId;
- public long getOtherUserId() {
- return otherUserId;
+ public long getManagedUserId() {
+ return managedUserId;
}
- public void setOtherUserId(long otherUserId) {
- this.otherUserId = otherUserId;
+ public void setManagedUserId(long managedUserId) {
+ this.managedUserId = managedUserId;
}
}