From 8421a365923b19397f4e66769a56c2dbdeb90828 Mon Sep 17 00:00:00 2001 From: Tim te Beek Date: Sat, 1 Apr 2023 03:56:03 +0200 Subject: [PATCH] [MNG-6825] Replace StringUtils (#1078) Co-authored-by: Moderne --- .../maven/internal/impl/DefaultArtifactCoordinateFactory.java | 2 +- .../org/apache/maven/internal/impl/DefaultArtifactFactory.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactCoordinateFactory.java b/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactCoordinateFactory.java index 77e385fec0..1df33dd898 100644 --- a/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactCoordinateFactory.java +++ b/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactCoordinateFactory.java @@ -21,11 +21,11 @@ package org.apache.maven.internal.impl; import javax.inject.Named; import javax.inject.Singleton; +import org.apache.commons.lang3.StringUtils; import org.apache.maven.api.ArtifactCoordinate; import org.apache.maven.api.annotations.Nonnull; import org.apache.maven.api.services.ArtifactCoordinateFactory; import org.apache.maven.api.services.ArtifactCoordinateFactoryRequest; -import org.apache.maven.shared.utils.StringUtils; import org.eclipse.aether.artifact.ArtifactType; import static org.apache.maven.internal.impl.Utils.cast; diff --git a/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactFactory.java b/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactFactory.java index a54c26ce3d..f03a9cebbe 100644 --- a/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactFactory.java +++ b/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactFactory.java @@ -21,11 +21,11 @@ package org.apache.maven.internal.impl; import javax.inject.Named; import javax.inject.Singleton; +import org.apache.commons.lang3.StringUtils; import org.apache.maven.api.Artifact; import org.apache.maven.api.annotations.Nonnull; import org.apache.maven.api.services.ArtifactFactory; import org.apache.maven.api.services.ArtifactFactoryRequest; -import org.apache.maven.shared.utils.StringUtils; import org.eclipse.aether.artifact.ArtifactType; import static org.apache.maven.internal.impl.Utils.cast;