diff options
author | Christopher Baines <cbaines8@gmail.com> | 2012-02-19 10:16:16 +0000 |
---|---|---|
committer | Christopher Baines <cbaines8@gmail.com> | 2012-02-19 10:16:16 +0000 |
commit | a02e8ae9eed3b2e3c105db19e84c27a0774172dd (patch) | |
tree | 523ba41be4e1bad06150d9caedb682eef0d7edf2 /src/net/cbaines/suma/DataHandler.java | |
parent | bff738801d5a231806c42bcb06b1e187d120b5a9 (diff) | |
download | southamptonuniversitymap-a02e8ae9eed3b2e3c105db19e84c27a0774172dd.tar southamptonuniversitymap-a02e8ae9eed3b2e3c105db19e84c27a0774172dd.tar.gz |
More bug fixes and stuff.
Diffstat (limited to 'src/net/cbaines/suma/DataHandler.java')
-rw-r--r-- | src/net/cbaines/suma/DataHandler.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/net/cbaines/suma/DataHandler.java b/src/net/cbaines/suma/DataHandler.java index f564d19..25f66ff 100644 --- a/src/net/cbaines/suma/DataHandler.java +++ b/src/net/cbaines/suma/DataHandler.java @@ -25,8 +25,6 @@ import org.xml.sax.Attributes; import org.xml.sax.SAXException; import org.xml.sax.helpers.DefaultHandler; -import android.util.Log; - public class DataHandler extends DefaultHandler { // this holds the data @@ -70,7 +68,8 @@ public class DataHandler extends DefaultHandler { } /** - * This gets called at the start of an element. Here we're also setting the booleans to true if it's at that specific tag. (so we know where we are) + * This gets called at the start of an element. Here we're also setting the booleans to true if it's at that + * specific tag. (so we know where we are) * * @param namespaceURI * @param localName @@ -81,7 +80,8 @@ public class DataHandler extends DefaultHandler { @Override public void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException { if (localName.equals("trkpt")) { - // Log.v("DataHandler", "Adding point to route overlay " + atts.getValue("lat") + " " + atts.getValue("lon")); + // Log.v("DataHandler", "Adding point to route overlay " + atts.getValue("lat") + " " + + // atts.getValue("lon")); _data.addPoint(Util.csLatLongToGeoPoint(atts.getValue("lat"), atts.getValue("lon"))); } } @@ -100,8 +100,8 @@ public class DataHandler extends DefaultHandler { } /** - * Calling when we're within an element. Here we're checking to see if there is any content in the tags that we're interested in and populating it in the - * Config object. + * Calling when we're within an element. Here we're checking to see if there is any content in the tags that we're + * interested in and populating it in the Config object. * * @param ch * @param start |