This is an automated email from the ASF dual-hosted git repository.

pepness pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git

commit 61d4cd1ed0eae388882348ac0af3eee0caf87e20
Merge: 01b8f9a7d6 f88417a01a
Author: José Contreras <pepn...@apache.org>
AuthorDate: Sat Feb 24 15:47:22 2024 -0600

    Merge pull request #7076 from pepness/ioutils-deprecated
    
    Remove usage of package `org.codehaus.plexus.util.IOUtil`.
    - Use `try-with-resources` instead of `IOUtil.close()` method
    - Use `readAllBytes()` instead of `IOUtil.toByteArray()`
    - Bump `javac.source` and `javac.target` to version 11 in module
      `maven.checkstyle`. Needed for method `readAllBytes()` and to use a
      variable inside `try-with-resources`
    - Add `Maven` as a display category to the module `maven.checkstyle`
    - Use one wrapped stream instead of two
    - Use native JDK method `Files.copy` instead of NetBeans method
      `FileUtil.copy`

 .../modules/maven/apisupport/AccessQueryImpl.java  |  7 +----
 .../maven/apisupport/MavenWhiteListQueryImpl.java  | 11 ++-----
 .../modules/maven/apisupport/NBMNativeMWI.java     | 22 ++++---------
 java/maven.checkstyle/nbproject/project.properties |  3 +-
 .../modules/maven/checkstyle/Bundle.properties     |  1 +
 .../maven/format/checkstyle/AuxPropsImpl.java      | 17 ++--------
 .../maven/format/checkstyle/ModuleConvertor.java   |  5 +--
 .../maven/customizer/CustomizerProviderImpl.java   | 34 +++++++-------------
 .../maven/execute/MavenCommandLineExecutor.java    | 36 +++++++++-------------
 9 files changed, 42 insertions(+), 94 deletions(-)



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to