Changeset 9667 in josm for trunk/scripts


Ignore:
Timestamp:
2016-01-29T10:01:54+01:00 (3 years ago)
Author:
stoecker
Message:

small style fix

Location:
trunk/scripts
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/scripts/BuildProjectionDefinitions.java

    r9567 r9667  
    155155            noDatumgrid++;
    156156        }
    157        
     157
    158158        // exclude entries where we don't support the base projection
    159159        Proj bp = Projections.getBaseProjection(proj);
  • trunk/scripts/sync_editor_imagery_index.groovy

    r9662 r9667  
    1414 *
    1515 * $ groovy -cp ../dist/josm-custom.jar sync_editor-imagery-index.groovy
    16  * 
     16 *
    1717 * Add option "-h" to show the available command line flags.
    1818 */
     
    3636    def eiiUrls = new HashMap<String, JsonObject>()
    3737    def josmUrls = new HashMap<String, ImageryInfo>()
    38    
     38
    3939    static String eiiInputFile = 'imagery.json'
    4040    static String josmInputFile = 'maps.xml'
     
    226226        def reader = new ImageryReader(josmInputFile)
    227227        josmEntries = reader.parse()
    228        
     228
    229229        for (def e : josmEntries) {
    230230            def url = getUrl(e)
     
    260260        l.sort()
    261261    }
    262    
     262
    263263    void checkInOneButNotTheOther() {
    264264        def l1 = inOneButNotTheOther(eiiUrls, josmUrls)
     
    278278        }
    279279    }
    280    
     280
    281281    void checkCommonEntries() {
    282282        myprintln "*** Same URL, but different name: ***"
     
    291291            }
    292292        }
    293        
     293
    294294        myprintln "*** Same URL, but different type: ***"
    295295        for (def url : eiiUrls.keySet()) {
     
    303303            }
    304304        }
    305        
     305
    306306        myprintln "*** Same URL, but different zoom bounds: ***"
    307307        for (def url : eiiUrls.keySet()) {
     
    325325            }
    326326        }
    327        
     327
    328328        myprintln "*** Same URL, but different country code: ***"
    329329        for (def url : eiiUrls.keySet()) {
     
    355355        }
    356356    }
    357    
     357
    358358    /**
    359359     * Utility functions that allow uniform access for both ImageryInfo and JsonObject.
Note: See TracChangeset for help on using the changeset viewer.