-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MNG-6825] Replace Plexus StringUtils with commons-lang3 (#168)
* [MNG-6825] Replace Plexus StringUtils with Commons Lang3 * Add commons-lang3 for StringUtils * Add commons-text for StringEscapeUtils
- Loading branch information
Showing
73 changed files
with
86 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,10 +28,10 @@ | |
import java.util.List; | ||
import java.util.Set; | ||
|
||
import org.apache.commons.lang3.StringUtils; | ||
import org.apache.maven.scm.provider.ScmProviderRepository; | ||
import org.apache.maven.scm.util.FilenameUtils; | ||
import org.apache.maven.scm.util.ThreadSafeDateFormat; | ||
import org.codehaus.plexus.util.StringUtils; | ||
|
||
/** | ||
* @author <a href="mailto:[email protected]">Emmanuel Venisse</a> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,7 @@ | |
*/ | ||
package org.apache.maven.scm.command.branch; | ||
|
||
import org.apache.commons.lang3.StringUtils; | ||
import org.apache.maven.scm.CommandParameter; | ||
import org.apache.maven.scm.CommandParameters; | ||
import org.apache.maven.scm.ScmBranchParameters; | ||
|
@@ -26,7 +27,6 @@ | |
import org.apache.maven.scm.ScmResult; | ||
import org.apache.maven.scm.command.AbstractCommand; | ||
import org.apache.maven.scm.provider.ScmProviderRepository; | ||
import org.codehaus.plexus.util.StringUtils; | ||
|
||
/** | ||
* @author <a href="mailto:[email protected]">Emmanuel Venisse</a> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,7 @@ | |
import java.io.File; | ||
import java.util.List; | ||
|
||
import org.apache.commons.lang3.StringUtils; | ||
import org.apache.maven.scm.ScmBranch; | ||
import org.apache.maven.scm.ScmException; | ||
import org.apache.maven.scm.ScmFile; | ||
|
@@ -44,7 +45,6 @@ | |
import org.codehaus.plexus.PlexusContainerException; | ||
import org.codehaus.plexus.context.Context; | ||
import org.codehaus.plexus.context.DefaultContext; | ||
import org.codehaus.plexus.util.StringUtils; | ||
|
||
/** | ||
* @author <a href="mailto:[email protected]">Trygve Laugstøl</a> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,6 +28,7 @@ | |
import java.util.Objects; | ||
import java.util.Properties; | ||
|
||
import org.apache.commons.lang3.StringUtils; | ||
import org.apache.maven.plugin.AbstractMojo; | ||
import org.apache.maven.plugin.MojoExecutionException; | ||
import org.apache.maven.plugins.annotations.Component; | ||
|
@@ -53,7 +54,6 @@ | |
import org.apache.maven.settings.crypto.SettingsDecryptionResult; | ||
import org.apache.maven.shared.model.fileset.FileSet; | ||
import org.apache.maven.shared.model.fileset.util.FileSetManager; | ||
import org.codehaus.plexus.util.StringUtils; | ||
|
||
/** | ||
* @author <a href="[email protected]">Emmanuel Venisse</a> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,11 +20,11 @@ | |
|
||
import java.io.File; | ||
|
||
import org.apache.commons.lang3.StringUtils; | ||
import org.apache.maven.plugin.testing.AbstractMojoTestCase; | ||
import org.apache.maven.scm.ScmTestCase; | ||
import org.apache.maven.scm.provider.svn.SvnScmTestUtils; | ||
import org.codehaus.plexus.util.FileUtils; | ||
import org.codehaus.plexus.util.StringUtils; | ||
|
||
/** | ||
* @author <a href="mailto:[email protected]">Emmanuel Venisse</a> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,12 +20,12 @@ | |
|
||
import java.io.File; | ||
|
||
import org.apache.commons.lang3.StringUtils; | ||
import org.apache.maven.plugin.MojoExecutionException; | ||
import org.apache.maven.plugin.testing.AbstractMojoTestCase; | ||
import org.apache.maven.scm.ScmTestCase; | ||
import org.apache.maven.scm.provider.svn.SvnScmTestUtils; | ||
import org.codehaus.plexus.util.FileUtils; | ||
import org.codehaus.plexus.util.StringUtils; | ||
|
||
/** | ||
* @author <a href="mailto:[email protected]">Emmanuel Venisse</a> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,13 +20,13 @@ | |
|
||
import java.io.File; | ||
|
||
import org.apache.commons.lang3.StringUtils; | ||
import org.apache.maven.plugin.MojoExecutionException; | ||
import org.apache.maven.plugin.testing.AbstractMojoTestCase; | ||
import org.apache.maven.scm.ScmTestCase; | ||
import org.apache.maven.scm.provider.ScmProviderRepositoryWithHost; | ||
import org.apache.maven.scm.provider.svn.SvnScmTestUtils; | ||
import org.codehaus.plexus.util.FileUtils; | ||
import org.codehaus.plexus.util.StringUtils; | ||
|
||
/** | ||
* @author <a href="mailto:[email protected]">Emmanuel Venisse</a> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,11 +20,11 @@ | |
|
||
import java.io.File; | ||
|
||
import org.apache.commons.lang3.StringUtils; | ||
import org.apache.maven.plugin.testing.AbstractMojoTestCase; | ||
import org.apache.maven.scm.ScmTestCase; | ||
import org.apache.maven.scm.provider.svn.SvnScmTestUtils; | ||
import org.codehaus.plexus.util.FileUtils; | ||
import org.codehaus.plexus.util.StringUtils; | ||
|
||
/** | ||
* @author <a href="mailto:[email protected]">Emmanuel Venisse</a> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,7 @@ | |
import java.util.ArrayList; | ||
import java.util.List; | ||
|
||
import org.apache.commons.lang3.StringUtils; | ||
import org.apache.maven.scm.ScmException; | ||
import org.apache.maven.scm.ScmFile; | ||
import org.apache.maven.scm.ScmFileSet; | ||
|
@@ -37,7 +38,6 @@ | |
import org.apache.maven.scm.provider.hg.command.HgConsumer; | ||
import org.apache.maven.scm.provider.hg.command.status.HgStatusCommand; | ||
import org.apache.maven.scm.provider.hg.repository.HgScmProviderRepository; | ||
import org.codehaus.plexus.util.StringUtils; | ||
|
||
/** | ||
* @author <a href="mailto:[email protected]">thurner rupert</a> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,7 @@ | |
import java.util.ArrayList; | ||
import java.util.List; | ||
|
||
import org.apache.commons.lang3.StringUtils; | ||
import org.apache.maven.scm.ScmException; | ||
import org.apache.maven.scm.ScmFileSet; | ||
import org.apache.maven.scm.ScmResult; | ||
|
@@ -36,7 +37,6 @@ | |
import org.apache.maven.scm.provider.hg.command.HgConsumer; | ||
import org.apache.maven.scm.provider.hg.repository.HgScmProviderRepository; | ||
import org.codehaus.plexus.util.FileUtils; | ||
import org.codehaus.plexus.util.StringUtils; | ||
|
||
/** | ||
* @author <a href="mailto:[email protected]">thurner rupert</a> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,7 @@ | |
*/ | ||
package org.apache.maven.scm.provider.hg.command.diff; | ||
|
||
import org.apache.commons.lang3.StringUtils; | ||
import org.apache.maven.scm.ScmException; | ||
import org.apache.maven.scm.ScmFileSet; | ||
import org.apache.maven.scm.ScmResult; | ||
|
@@ -28,7 +29,6 @@ | |
import org.apache.maven.scm.provider.ScmProviderRepository; | ||
import org.apache.maven.scm.provider.hg.HgUtils; | ||
import org.apache.maven.scm.provider.hg.command.HgCommandConstants; | ||
import org.codehaus.plexus.util.StringUtils; | ||
|
||
/** | ||
* @author <a href="mailto:[email protected]">thurner rupert</a> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,7 @@ | |
import java.util.List; | ||
import java.util.Map; | ||
|
||
import org.apache.commons.lang3.StringUtils; | ||
import org.apache.maven.scm.ScmException; | ||
import org.apache.maven.scm.ScmFile; | ||
import org.apache.maven.scm.ScmFileSet; | ||
|
@@ -40,7 +41,6 @@ | |
import org.apache.maven.scm.provider.hg.command.HgConsumer; | ||
import org.apache.maven.scm.provider.hg.command.changelog.HgChangeLogCommand; | ||
import org.apache.maven.scm.provider.hg.command.diff.HgDiffConsumer; | ||
import org.codehaus.plexus.util.StringUtils; | ||
|
||
/** | ||
* @author <a href="mailto:[email protected]">thurner rupert</a> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,8 +21,8 @@ | |
import java.io.File; | ||
import java.util.Objects; | ||
|
||
import org.apache.commons.lang3.StringUtils; | ||
import org.apache.maven.scm.provider.ScmProviderRepositoryWithHost; | ||
import org.codehaus.plexus.util.StringUtils; | ||
|
||
/** | ||
* @author <a href="mailto:[email protected]">thurner rupert</a> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,7 @@ | |
|
||
import java.io.File; | ||
|
||
import org.apache.commons.lang3.StringUtils; | ||
import org.apache.maven.scm.CommandParameters; | ||
import org.apache.maven.scm.ScmException; | ||
import org.apache.maven.scm.ScmFileSet; | ||
|
@@ -48,7 +49,6 @@ | |
import org.apache.maven.scm.provider.local.command.update.LocalUpdateCommand; | ||
import org.apache.maven.scm.provider.local.repository.LocalScmProviderRepository; | ||
import org.apache.maven.scm.repository.ScmRepositoryException; | ||
import org.codehaus.plexus.util.StringUtils; | ||
|
||
/** | ||
* @author <a href="mailto:[email protected]">Trygve Laugstøl</a> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,7 @@ | |
import java.util.ArrayList; | ||
import java.util.List; | ||
|
||
import org.apache.commons.lang3.StringUtils; | ||
import org.apache.maven.scm.ScmException; | ||
import org.apache.maven.scm.ScmFile; | ||
import org.apache.maven.scm.ScmFileSet; | ||
|
@@ -35,7 +36,6 @@ | |
import org.apache.maven.scm.provider.local.repository.LocalScmProviderRepository; | ||
import org.apache.maven.scm.util.FilenameUtils; | ||
import org.codehaus.plexus.util.FileUtils; | ||
import org.codehaus.plexus.util.StringUtils; | ||
|
||
/** | ||
* @author <a href="mailto:[email protected]">Trygve Laugstøl</a> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,7 @@ | |
import java.util.ArrayList; | ||
import java.util.List; | ||
|
||
import org.apache.commons.lang3.StringUtils; | ||
import org.apache.maven.scm.ScmException; | ||
import org.apache.maven.scm.ScmFile; | ||
import org.apache.maven.scm.ScmFileSet; | ||
|
@@ -31,7 +32,6 @@ | |
import org.apache.maven.scm.command.list.ListScmResult; | ||
import org.apache.maven.scm.provider.ScmProviderRepository; | ||
import org.apache.maven.scm.provider.local.repository.LocalScmProviderRepository; | ||
import org.codehaus.plexus.util.StringUtils; | ||
|
||
/** | ||
* @author <a href="mailto:[email protected]">Emmanuel Venisse</a> | ||
|
Oops, something went wrong.