Changeset 9069 in josm for trunk/src/org


Ignore:
Timestamp:
2015-11-29T21:40:38+01:00 (4 years ago)
Author:
wiktorn
Message:

checkstyle: remove unnecessary final keyword

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/imagery/WMTSTileSource.java

    r9068 r9069  
    308308     * @throws XMLStreamException See {@link XMLStreamReader}
    309309     */
    310     private static final Collection<Layer> parseContents(XMLStreamReader reader) throws XMLStreamException {
     310    private static Collection<Layer> parseContents(XMLStreamReader reader) throws XMLStreamException {
    311311        Map<String, TileMatrixSet> matrixSetById = new ConcurrentHashMap<>();
    312312        Collection<Layer> layers = new ArrayList<>();
     
    343343     * @throws XMLStreamException See {@link XMLStreamReader}
    344344     */
    345     private static final Layer parseLayer(XMLStreamReader reader) throws XMLStreamException {
     345    private static Layer parseLayer(XMLStreamReader reader) throws XMLStreamException {
    346346        Layer layer = new Layer();
    347347
     
    383383     * @throws XMLStreamException See {@link XMLStreamReader}
    384384     */
    385     private static final String praseTileMatrixSetLink(XMLStreamReader reader) throws XMLStreamException {
     385    private static String praseTileMatrixSetLink(XMLStreamReader reader) throws XMLStreamException {
    386386        String ret = null;
    387387        for (int event = reader.getEventType();
     
    402402     * @throws XMLStreamException See {@link XMLStreamReader}
    403403     */
    404     private static final TileMatrixSet parseTileMatrixSet(XMLStreamReader reader) throws XMLStreamException {
     404    private static TileMatrixSet parseTileMatrixSet(XMLStreamReader reader) throws XMLStreamException {
    405405        TileMatrixSet matrixSet = new TileMatrixSet();
    406406        for (int event = reader.getEventType();
     
    429429     * @throws XMLStreamException See {@link XMLStreamReader}
    430430     */
    431     private static final TileMatrix parseTileMatrix(XMLStreamReader reader, String matrixCrs) throws XMLStreamException {
     431    private static TileMatrix parseTileMatrix(XMLStreamReader reader, String matrixCrs) throws XMLStreamException {
    432432        Projection matrixProj = Projections.getProjectionByCode(matrixCrs);
    433433        TileMatrix ret = new TileMatrix();
     
    509509     * @throws XMLStreamException See {@link XMLStreamReader}
    510510     */
    511     private static final TransferMode getTransferMode(XMLStreamReader reader) throws XMLStreamException {
     511    private static TransferMode getTransferMode(XMLStreamReader reader) throws XMLStreamException {
    512512        QName GET_QNAME = new QName(OWS_NS_URL, "Get");
    513513
     
    539539     * @throws XMLStreamException See {@link XMLStreamReader}
    540540     */
    541     private static final boolean moveReaderToTag(XMLStreamReader reader, QName[] tags) throws XMLStreamException {
     541    private static boolean moveReaderToTag(XMLStreamReader reader, QName[] tags) throws XMLStreamException {
    542542        QName stopTag = reader.getName();
    543543        int currentLevel = 0;
     
    582582    }
    583583
    584     private static final String normalizeCapabilitiesUrl(String url) throws MalformedURLException {
     584    private static String normalizeCapabilitiesUrl(String url) throws MalformedURLException {
    585585        URL inUrl = new URL(url);
    586586        URL ret = new URL(inUrl.getProtocol(), inUrl.getHost(), inUrl.getPort(), inUrl.getFile());
     
    588588    }
    589589
    590     private static final String crsToCode(String crsIdentifier) {
     590    private static String crsToCode(String crsIdentifier) {
    591591        if (crsIdentifier.startsWith("urn:ogc:def:crs:")) {
    592592            return crsIdentifier.replaceFirst("urn:ogc:def:crs:([^:]*):.*:(.*)$", "$1:$2");
Note: See TracChangeset for help on using the changeset viewer.