aboutsummaryrefslogtreecommitdiff
path: root/src/com/juick/json/Place.java
diff options
context:
space:
mode:
authorGravatar Ugnich Anton2012-11-04 22:51:24 +0700
committerGravatar Ugnich Anton2012-11-04 22:51:24 +0700
commitc1e53e34484d31584c58fa45c330e770d65879a4 (patch)
treec629b4c3295cdbf52ab406539ff299ccb97ad011 /src/com/juick/json/Place.java
parentcbcc5a5e4c1edd4689c756a2548a5087201ee74e (diff)
New Juick Java API
Diffstat (limited to 'src/com/juick/json/Place.java')
-rw-r--r--src/com/juick/json/Place.java9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/com/juick/json/Place.java b/src/com/juick/json/Place.java
index 4e3e5579..f195e7d7 100644
--- a/src/com/juick/json/Place.java
+++ b/src/com/juick/json/Place.java
@@ -34,9 +34,6 @@ public class Place {
jplace.lat = json.getDouble("lat");
jplace.lon = json.getDouble("lon");
jplace.name = json.getString("name").replace(""", "\"");
- if (json.has("description")) {
- jplace.description = json.getString("description").replace(""", "\"");
- }
if (json.has("users")) {
jplace.users = json.getInt("users");
}
@@ -46,12 +43,6 @@ public class Place {
if (json.has("distance")) {
jplace.distance = json.getInt("distance");
}
- if (json.has("tags")) {
- JSONArray tags = json.getJSONArray("tags");
- for (int n = 0; n < tags.length(); n++) {
- jplace.tags.add(tags.getString(n).replace("&quot;", "\""));
- }
- }
return jplace;
}