-
Classes Class Description org.codehaus.plexus.util.StringInputStream As of version 1.5.2 this class should no longer be used because it does not properly handle character encoding. Instead, wrap the output fromString.getBytes(String)
into aByteArrayInputStream
.org.codehaus.plexus.util.StringOutputStream As of version 1.5.2 this class should no longer be used because it does not properly handle character encoding. Instead, useByteArrayOutputStream.toString(String)
.org.codehaus.plexus.util.xml.XmlReader use XmlStreamReader
-
Fields Field Description org.codehaus.plexus.util.cli.Commandline.executable UseCommandline.setExecutable(String)
instead.org.codehaus.plexus.util.cli.Commandline.OS_NAME UseOs
class instead.org.codehaus.plexus.util.cli.Commandline.WINDOWS UseOs
class instead.org.codehaus.plexus.util.xml.pull.XmlPullParserException.detail use generic getCause() method
-
Methods Method Description org.codehaus.plexus.util.cli.Commandline.createArgument() UseCommandline.createArg()
insteadorg.codehaus.plexus.util.cli.Commandline.quoteArgument(String) UseCommandLineUtils.quote(String)
instead.org.codehaus.plexus.util.cli.Commandline.toString(String[]) UseCommandLineUtils.toString(String[])
instead.org.codehaus.plexus.util.cli.Commandline.translateCommandline(String) UseCommandLineUtils.translateCommandline(String)
instead.org.codehaus.plexus.util.cli.CommandLineUtils.quote(String) org.codehaus.plexus.util.dag.DAG.getVerticies() instead useDAG.getVertices()
org.codehaus.plexus.util.IOUtil.bufferedCopy(InputStream, OutputStream) Buffering streams is actively harmful! See the class description as to why. UseIOUtil.copy(InputStream, OutputStream)
instead.org.codehaus.plexus.util.xml.pull.XmlPullParserException.getDetail() Use the genericgetCause()
method