Ignore:
Timestamp:
2019-12-13T00:48:33+01:00 (4 years ago)
Author:
Don-vip
Message:

code cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/validation/routines/DomainValidator.java

    r15562 r15586  
    290290
    291291    // WARNING: this array MUST be sorted, otherwise it cannot be searched reliably using binary search
    292     private static final String[] INFRASTRUCTURE_TLDS = new String[] {
     292    private static final String[] INFRASTRUCTURE_TLDS = {
    293293        "arpa",               // internet infrastructure
    294294    };
    295295
    296296    // WARNING: this array MUST be sorted, otherwise it cannot be searched reliably using binary search
    297     private static final String[] GENERIC_TLDS = new String[] {
     297    private static final String[] GENERIC_TLDS = {
    298298        // Taken from Version 2019120700, Last Updated Sat Dec  7 07:07:01 2019 UTC
    299299        "aaa", // aaa American Automobile Association, Inc.
     
    15241524
    15251525    // WARNING: this array MUST be sorted, otherwise it cannot be searched reliably using binary search
    1526     private static final String[] COUNTRY_CODE_TLDS = new String[] {
     1526    private static final String[] COUNTRY_CODE_TLDS = {
    15271527        "ac",                 // Ascension Island
    15281528        "ad",                 // Andorra
     
    18221822
    18231823    // WARNING: this array MUST be sorted, otherwise it cannot be searched reliably using binary search
    1824     private static final String[] LOCAL_TLDS = new String[] {
     1824    private static final String[] LOCAL_TLDS = {
    18251825       "localdomain",         // Also widely used as localhost.localdomain
    18261826       "localhost",           // RFC2606 defined
Note: See TracChangeset for help on using the changeset viewer.