From 6adf3f92d550490362a2248230472d4346311349 Mon Sep 17 00:00:00 2001 From: carrychair Date: Sat, 9 Mar 2024 17:19:26 +0800 Subject: [PATCH] remove repetitive words Signed-off-by: carrychair --- .../org/apache/maven/lifecycle/internal/builder/Builder.java | 2 +- .../internal/builder/singlethreaded/SingleThreadedBuilder.java | 2 +- maven-core/src/site/apt/configuration-management.apt | 2 +- maven-core/src/site/apt/offline-mode.apt | 2 +- .../java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/Builder.java b/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/Builder.java index c201e65b3560..7e6eec76d729 100644 --- a/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/Builder.java +++ b/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/Builder.java @@ -30,7 +30,7 @@ /** *

* A {@link Builder} encapsulates a strategy for building a set of Maven projects. The default strategy in Maven builds - * the the projects serially, but a {@link Builder} can employ any type of concurrency model to build the projects. + * the projects serially, but a {@link Builder} can employ any type of concurrency model to build the projects. *

* Note: This interface is part of work in progress and can be changed or removed without notice. */ diff --git a/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/singlethreaded/SingleThreadedBuilder.java b/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/singlethreaded/SingleThreadedBuilder.java index fc814e72ad37..277c52ee0946 100644 --- a/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/singlethreaded/SingleThreadedBuilder.java +++ b/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/singlethreaded/SingleThreadedBuilder.java @@ -36,7 +36,7 @@ /** *

* A {@link Builder} encapsulates a strategy for building a set of Maven projects. The default strategy in Maven builds - * the the projects serially, but a {@link Builder} can employ any type of concurrency model to build the projects. + * the projects serially, but a {@link Builder} can employ any type of concurrency model to build the projects. */ @Named("singlethreaded") @Singleton diff --git a/maven-core/src/site/apt/configuration-management.apt b/maven-core/src/site/apt/configuration-management.apt index 6ad6e904bcb0..5954ed1dce13 100644 --- a/maven-core/src/site/apt/configuration-management.apt +++ b/maven-core/src/site/apt/configuration-management.apt @@ -32,7 +32,7 @@ Configuration levels in maven * Site configuration - At the site level all configuration is achieved by tweaking the the various files that + At the site level all configuration is achieved by tweaking the various files that are available in the ${maven.home}/site-configuration directory +-----+ diff --git a/maven-core/src/site/apt/offline-mode.apt b/maven-core/src/site/apt/offline-mode.apt index 13e54af94ff6..81bc88931515 100644 --- a/maven-core/src/site/apt/offline-mode.apt +++ b/maven-core/src/site/apt/offline-mode.apt @@ -258,7 +258,7 @@ Offline Mode Design <> status, or else doesn't care. * Otherwise, don't bind the mojo. Log a debug message to indicate that it is - sensitive the the online state of the application, and that this state is + sensitive the online state of the application, and that this state is currently wrong for execution. <> Do we want to fail when we cannot bind a mojo to the lifecycle diff --git a/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java b/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java index 8774ad574fd4..0ed0eedc6ab2 100644 --- a/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java +++ b/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java @@ -339,7 +339,7 @@ private static T newImplementation(final Class clazz) { * * @param clazz The implementation type * @param value The string argument - * @return Instance of given implementation, constructed using the the given string + * @return Instance of given implementation, constructed using the given string */ private static T newImplementation(final Class clazz, final String value) { try {