projects
/
PFCLatex
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improvements in chapter 6
[PFCLatex/.git]
/
source
/
JavaUpdateLocation.java
diff --git
a/source/JavaUpdateLocation.java
b/source/JavaUpdateLocation.java
index
1624330
..
8af5086
100644
(file)
--- a/
source/JavaUpdateLocation.java
+++ b/
source/JavaUpdateLocation.java
@@
-1,10
+1,7
@@
public void makeUseOfNewLocation(Location loc) {
public void makeUseOfNewLocation(Location loc) {
-
final String latitude = Double.toString(loc.getLatitude());
final String longitude = Double.toString(loc.getLongitude());
final String latitude = Double.toString(loc.getLatitude());
final String longitude = Double.toString(loc.getLongitude());
- //RESTful WebService
- final String URLAuth = urlServer + latitudeReplace + "/" + longitudeReplace + "/gpsads.json";
+ final String URLAuth = urlServer + latitude + "/" + longitude + "/gpsads.json";
URL url = new URL(URLAuth);
URL url = new URL(URLAuth);
-
this.exec.execute(new Batch(url));
}
this.exec.execute(new Batch(url));
}