Changeset 19113 in josm for trunk/scripts


Ignore:
Timestamp:
2024-06-18T22:29:22+02:00 (3 months ago)
Author:
taylor.smock
Message:

Update PMD to 7.2.0

A bunch of rules were deprecated and replaced and the XPath expressions had to be updated from XPath 1 to XPath 3.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/scripts/TagInfoExtract.java

    r19108 r19113  
    103103     * Main method.
    104104     * @param args Main program arguments
    105      * @throws Exception if any error occurs
     105     * @throws IOException if an IO exception occurs
     106     * @throws OsmTransferException if something happened when communicating with the OSM server
     107     * @throws ParseException if there was an issue parsing MapCSS
     108     * @throws SAXException if there was an issue parsing XML
    106109     */
    107     public static void main(String[] args) throws Exception {
     110    public static void main(String[] args) throws IOException, OsmTransferException, ParseException, SAXException {
    108111        HttpClient.setFactory(Http1Client::new);
    109112        TagInfoExtract script = new TagInfoExtract();
Note: See TracChangeset for help on using the changeset viewer.