You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by gn...@apache.org on 2026/08/29 19:15:12 UTC
(maven) 03/16: Remove public modifiers from IT class and methods
This is an automated email from the ASF dual-hosted git repository.
gnodet pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven.git
commit b2356cad1988695d89c3b66d38d1ac213361dd34
Author: Guillaume Nodet <gn...@gmail.com>
AuthorDate: Fri Jul 31 07:44:29 2026 +0200
Remove public modifiers from IT class and methods
Co-Authored-By: Claude Opus 4.6 <no...@anthropic.com>
---
.../java/org/apache/maven/it/MavenITAutoJdkToolchainSelectTest.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITAutoJdkToolchainSelectTest.java b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITAutoJdkToolchainSelectTest.java
index 10d0776ce3..894d832ff4 100644
--- a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITAutoJdkToolchainSelectTest.java
+++ b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITAutoJdkToolchainSelectTest.java
@@ -34,7 +34,7 @@
* When the running JDK does not support the project's required {@code --source}/{@code --release}
* level, Maven should automatically search configured toolchains and select a compatible JDK.
*/
-public class MavenITAutoJdkToolchainSelectTest extends AbstractMavenIntegrationTestCase {
+class MavenITAutoJdkToolchainSelectTest extends AbstractMavenIntegrationTestCase {
/**
* Verifies that Maven auto-selects a JDK toolchain when the running JDK
@@ -45,7 +45,7 @@ public class MavenITAutoJdkToolchainSelectTest extends AbstractMavenIntegrationT
* A JDK 11 toolchain is configured in toolchains.xml and should be auto-selected.
*/
@Test
- public void testAutoSelectToolchainWhenSourceLevelUnsupported() throws Exception {
+ void testAutoSelectToolchainWhenSourceLevelUnsupported() throws Exception {
Path testDir = extractResources("auto-jdk-toolchain-select");
// Create a fake JDK home with bin/javac for the toolchain
@@ -96,7 +96,7 @@ public void testAutoSelectToolchainWhenSourceLevelUnsupported() throws Exception
* by JDK 12+ (all current CI JDKs). No auto-selection should occur.
*/
@Test
- public void testNoAutoSelectWhenSourceLevelSupported() throws Exception {
+ void testNoAutoSelectWhenSourceLevelSupported() throws Exception {
Path testDir = extractResources("auto-jdk-toolchain-no-select");
// Create a fake JDK home (needed to create a valid toolchain)