aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-11-19 10:50:00 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-11-19 10:50:00 +1300
commitff731f55ca109872dc7a73ff8cf87adef9787ea0 (patch)
tree32827a6c4acaf3656bc24e88238c634175c4c35d
parent69ddb85287987aab5f849f47de1eda1e1b1651f0 (diff)
downloadtrackermap-server-ff731f55ca109872dc7a73ff8cf87adef9787ea0.tar.gz
trackermap-server-ff731f55ca109872dc7a73ff8cf87adef9787ea0.tar.bz2
trackermap-server-ff731f55ca109872dc7a73ff8cf87adef9787ea0.zip
Remove unused import and variable
-rw-r--r--src/org/traccar/BasePipelineFactory.java1
-rw-r--r--src/org/traccar/location/OpenCellIdLocationProvider.java1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/org/traccar/BasePipelineFactory.java b/src/org/traccar/BasePipelineFactory.java
index 4244da8c9..b02bd0e53 100644
--- a/src/org/traccar/BasePipelineFactory.java
+++ b/src/org/traccar/BasePipelineFactory.java
@@ -31,7 +31,6 @@ import org.jboss.netty.channel.SimpleChannelHandler;
import org.jboss.netty.handler.logging.LoggingHandler;
import org.jboss.netty.handler.timeout.IdleStateHandler;
import org.traccar.helper.Log;
-import org.traccar.location.LocationProvider;
public abstract class BasePipelineFactory implements ChannelPipelineFactory {
diff --git a/src/org/traccar/location/OpenCellIdLocationProvider.java b/src/org/traccar/location/OpenCellIdLocationProvider.java
index 2339585ad..b06f44d1e 100644
--- a/src/org/traccar/location/OpenCellIdLocationProvider.java
+++ b/src/org/traccar/location/OpenCellIdLocationProvider.java
@@ -36,7 +36,6 @@ public class OpenCellIdLocationProvider extends BaseLocationProvider {
}
protected void getLocation(int mcc, int mnc, long lac, long cid, final LocationProviderCallback callback) {
- String x = String.format(url, mcc, mnc, lac, cid);
Context.getAsyncHttpClient().prepareGet(String.format(url, mcc, mnc, lac, cid))
.execute(new AsyncCompletionHandler() {
@Override