diff options
author | Anton Tananaev <atananaev@lyft.com> | 2020-12-29 11:27:46 -0800 |
---|---|---|
committer | Anton Tananaev <atananaev@lyft.com> | 2020-12-29 11:27:46 -0800 |
commit | d97c43c29e96503d1ba943ec780cd6f8d419a0dd (patch) | |
tree | 8cd2be61ecd202afda031822ec555e6e64ff45d2 /src/main/java/org/traccar/model/CellTower.java | |
parent | c0dee04079cb2edb855e6eeeab9cb6f1b43fa465 (diff) | |
download | trackermap-server-d97c43c29e96503d1ba943ec780cd6f8d419a0dd.tar.gz trackermap-server-d97c43c29e96503d1ba943ec780cd6f8d419a0dd.tar.bz2 trackermap-server-d97c43c29e96503d1ba943ec780cd6f8d419a0dd.zip |
Migrate remaining int keys
Diffstat (limited to 'src/main/java/org/traccar/model/CellTower.java')
-rw-r--r-- | src/main/java/org/traccar/model/CellTower.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/main/java/org/traccar/model/CellTower.java b/src/main/java/org/traccar/model/CellTower.java index 6d1dfbd7f..254487471 100644 --- a/src/main/java/org/traccar/model/CellTower.java +++ b/src/main/java/org/traccar/model/CellTower.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 Anton Tananaev (anton@traccar.org) + * Copyright 2016 - 2020 Anton Tananaev (anton@traccar.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -17,6 +17,7 @@ package org.traccar.model; import com.fasterxml.jackson.annotation.JsonInclude; import org.traccar.Context; +import org.traccar.config.Keys; @JsonInclude(JsonInclude.Include.NON_NULL) public class CellTower { @@ -38,8 +39,8 @@ public class CellTower { public static CellTower fromLacCid(int lac, long cid) { return from( - Context.getConfig().getInteger("geolocation.mcc"), - Context.getConfig().getInteger("geolocation.mnc"), lac, cid); + Context.getConfig().getInteger(Keys.GEOLOCATION_MCC), + Context.getConfig().getInteger(Keys.GEOLOCATION_MCC), lac, cid); } public static CellTower fromCidLac(long cid, int lac) { |