Ignore:
Timestamp:
17.06.2009 10:04:22 (3 years ago)
Author:
stoecker
Message:

remove all these ugly tab stops introduced in the last half year

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/GpxWriter.java

    r1612 r1677  
    4646        out.println("<?xml version='1.0' encoding='UTF-8'?>"); 
    4747        out.println("<gpx version=\"1.1\" creator=\"JOSM GPX export\" xmlns=\"http://www.topografix.com/GPX/1/1\"\n" + 
    48                         "    xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" \n" +  
    49                         "    xsi:schemaLocation=\"http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd\">"); 
     48                "    xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" \n" + 
     49                "    xsi:schemaLocation=\"http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd\">"); 
    5050        indent = "  "; 
    5151        writeMetaData(); 
     
    6060        // FIXME this loop is evil, because it does not assure the 
    6161        // correct element order specified by the xml schema. 
    62         // for now it works, but future extension could get very complex and unmaintainable  
     62        // for now it works, but future extension could get very complex and unmaintainable 
    6363        for (Map.Entry<String, Object> ent : attr.entrySet()) { 
    6464            String k = ent.getKey(); 
     
    7676        Map<String, Object> attr = data.attr; 
    7777        openln("metadata"); 
    78          
     78 
    7979        // write the description 
    8080        if (attr.containsKey(GpxData.META_DESC)) simpleTag("desc", (String)attr.get(GpxData.META_DESC)); 
    81          
     81 
    8282        // write the author details 
    83         if (attr.containsKey(GpxData.META_AUTHOR_NAME)  
     83        if (attr.containsKey(GpxData.META_AUTHOR_NAME) 
    8484                || attr.containsKey(GpxData.META_AUTHOR_EMAIL)) { 
    8585            openln("author"); 
     
    9999 
    100100        // write the copyright details 
    101         if(attr.containsKey(GpxData.META_COPYRIGHT_LICENSE)  
     101        if(attr.containsKey(GpxData.META_COPYRIGHT_LICENSE) 
    102102                || attr.containsKey(GpxData.META_COPYRIGHT_YEAR)) { 
    103103            openAtt("copyright", "author=\""+ attr.get(GpxData.META_COPYRIGHT_AUTHOR) +"\""); 
     
    110110            closeln("copyright"); 
    111111        } 
    112          
     112 
    113113        // write links 
    114114        if(attr.containsKey(GpxData.META_LINKS)) { 
     
    117117            } 
    118118        } 
    119          
    120         // write keywords  
     119 
     120        // write keywords 
    121121        if (attr.containsKey(GpxData.META_KEYWORDS)) simpleTag("keywords", (String)attr.get(GpxData.META_KEYWORDS)); 
    122122 
Note: See TracChangeset for help on using the changeset viewer.