Ignore:
Timestamp:
2024-04-22T20:59:26+02:00 (7 months ago)
Author:
taylor.smock
Message:

Revert most var changes from r19048, fix most new compile warnings and checkstyle issues

Also, document why various ErrorProne checks were originally disabled and fix
generic SonarLint issues.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/scripts/TagInfoExtract.java

    r18801 r19050  
    11// License: GPL. For details, see LICENSE file.
     2
    23import java.awt.Graphics2D;
    34import java.awt.image.BufferedImage;
     
    3233
    3334import javax.imageio.ImageIO;
    34 import jakarta.json.Json;
    35 import jakarta.json.JsonArrayBuilder;
    36 import jakarta.json.JsonObjectBuilder;
    37 import jakarta.json.JsonWriter;
    38 import jakarta.json.stream.JsonGenerator;
    3935
    4036import org.openstreetmap.josm.actions.DeleteAction;
     
    8581import org.xml.sax.SAXException;
    8682
     83import jakarta.json.Json;
     84import jakarta.json.JsonArrayBuilder;
     85import jakarta.json.JsonObjectBuilder;
     86import jakarta.json.JsonWriter;
     87import jakarta.json.stream.JsonGenerator;
     88
    8789/**
    8890 * Extracts tag information for the taginfo project.
     
    163165    }
    164166
    165     private static class Options {
     167    private static final class Options {
    166168        Mode mode;
    167169        int josmSvnRevision = Version.getInstance().getVersion();
     
    314316    }
    315317
    316     private class ExternalPresets extends Presets {
     318    private final class ExternalPresets extends Presets {
    317319
    318320        @Override
     
    341343    }
    342344
    343     private class StyleSheet extends Extractor {
     345    private final class StyleSheet extends Extractor {
    344346        private MapCSSStyleSource styleSource;
    345347
Note: See TracChangeset for help on using the changeset viewer.