• R/O
  • HTTP
  • SSH
  • HTTPS

importpicture: Commit


Commit MetaInfo

Revisiónb1cc4988673a44d0947a2dae4298abb1b2187f35 (tree)
Tiempo2014-11-24 11:19:53
Autoryuuhayashi <hayashi.yuu@gmai...>
Commiteryuuhayashi

Log Message

FIX: 'ele'を表示する

Cambiar Resumen

Diferencia incremental

--- a/importPicture/src/osm/jp/gpx/ImportPicture.java
+++ b/importPicture/src/osm/jp/gpx/ImportPicture.java
@@ -289,8 +289,8 @@ public class ImportPicture {
289289 for (int i4=0; i4< nodes.getLength(); i4++) {
290290 Node node = nodes.item(i4);
291291 if (node != null) {
292- if (node.getNodeType() == Node.TEXT_NODE) {
293- String eleStr = node.getNodeValue();
292+ if (node.getNodeName().equals("ele")) {
293+ String eleStr = node.getFirstChild().getNodeValue();
294294 System.out.println(eleStr);
295295 }
296296 }
Show on old repository browser