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/OsmReader.java

    r1604 r1677  
    158158                              throw new SAXException(tr("Unknown version")); 
    159159                         String v = atts.getValue("version"); 
    160                          if (v == null)  
     160                         if (v == null) 
    161161                             throw new SAXException(tr("Version number missing from OSM data")); 
    162                          if (!(v.equals("0.5") || v.equals("0.6")))  
     162                         if (!(v.equals("0.5") || v.equals("0.6"))) 
    163163                             throw new SAXException(tr("Unknown version: {0}", v)); 
    164164                         // save generator attribute for later use when creating DataSource objects 
    165165                         generator = atts.getValue("generator"); 
    166166                         ds.version = v; 
    167                           
     167 
    168168                    } else if (qName.equals("bounds")) { 
    169169                         // new style bounds. 
     
    234234                         value = atts.getValue("role"); 
    235235                         emd.relationMember.role = value; 
    236                           
     236 
    237237                         if (emd.id == 0) 
    238238                              throw new SAXException(tr("Incomplete <member> specification with ref=0")); 
     
    285285               current.user = User.get(user); 
    286286          } 
    287            
    288           // uid attribute added in 0.6 API  
     287 
     288          // uid attribute added in 0.6 API 
    289289          String uid = atts.getValue("uid"); 
    290290          if (uid != null) { 
     
    484484 
    485485          Main.pleaseWaitDlg.currentAction.setText(tr("Prepare OSM data...")); 
    486           Main.pleaseWaitDlg.setIndeterminate(true);  
     486          Main.pleaseWaitDlg.setIndeterminate(true); 
    487487 
    488488//          System.out.println("Parser finished: Tags " + tagsN + " Nodes " + nodesN + " Ways " + waysN + 
     
    506506 
    507507//          System.out.println("Data loaded!"); 
    508           Main.pleaseWaitDlg.setIndeterminate(false);  
    509           Main.pleaseWaitDlg.progress.setValue(0);  
     508          Main.pleaseWaitDlg.setIndeterminate(false); 
     509          Main.pleaseWaitDlg.progress.setValue(0); 
    510510 
    511511          return osm; 
Note: See TracChangeset for help on using the changeset viewer.