Ignore:
Timestamp:
2018-06-07T02:05:53+02:00 (6 years ago)
Author:
Don-vip
Message:

SonarQube fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/data/imagery/WMSEndpointTileSourceTest.java

    r13872 r13897  
    33
    44import static org.junit.Assert.assertEquals;
     5import static org.junit.Assert.assertTrue;
    56
    67import java.nio.file.Files;
     
    126127        assertEquals("b8e36d51-119a-423b-b156-d744d54123d5", wmsImageryInfo.getCustomHttpHeaders().get("X-WAAPI-TOKEN"));
    127128        assertEquals("b8e36d51-119a-423b-b156-d744d54123d5", tileSource.getHeaders().get("X-WAAPI-TOKEN"));
    128         assertEquals(true, wmsImageryInfo.isGeoreferenceValid());
     129        assertTrue(wmsImageryInfo.isGeoreferenceValid());
    129130        tileServer.verify(
    130131                WireMock.getRequestedFor(WireMock.urlEqualTo("/capabilities?SERVICE=WMS&REQUEST=GetCapabilities"))
     
    143144                + "BBOX=20037506.6204108,-60112521.5836107,60112521.5836107,-20037506.6204108",
    144145                tileSource.getTileUrl(1, 1, 1));
    145 
    146146    }
    147147}
Note: See TracChangeset for help on using the changeset viewer.