Ignore:
Timestamp:
2026-02-20T11:51:47+01:00 (14 hours ago)
Author:
stoecker
Message:

remove a lot of PMD warnings, especially outdated ignores, see #24635

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/Compression.java

    r19500 r19535  
    178178    public static InputStream getUncompressedFileInputStream(File file) throws IOException {
    179179        try {
    180             return getUncompressedFileInputStream(file.toPath());  // NOPMD
     180            return getUncompressedFileInputStream(file.toPath());
    181181        } catch (InvalidPathException e) {
    182182            throw new IOException(e);
     
    192192     */
    193193    public static InputStream getUncompressedFileInputStream(Path path) throws IOException {
    194         InputStream in = Files.newInputStream(path); // NOPMD
     194        InputStream in = Files.newInputStream(path);
    195195        try {
    196196            return byExtension(path.getFileName().toString()).getUncompressedInputStream(in);
     
    233233     */
    234234    public static OutputStream getCompressedFileOutputStream(File file) throws IOException {
    235         return getCompressedFileOutputStream(file.toPath()); // NOPMD
     235        return getCompressedFileOutputStream(file.toPath());
    236236    }
    237237
     
    246246     */
    247247    public static OutputStream getCompressedFileOutputStream(Path path) throws IOException {
    248         OutputStream out = Files.newOutputStream(path); // NOPMD
     248        OutputStream out = Files.newOutputStream(path);
    249249        try {
    250250            return byExtension(path.getFileName().toString()).getCompressedOutputStream(out);
Note: See TracChangeset for help on using the changeset viewer.