-
ClassDescriptionAs of version 1.5.2 this class should no longer be used because it does not properly handle character encoding. Instead, use
ByteArrayOutputStream.toString(String)
.use XmlStreamReader
-
FieldDescriptionUse
Commandline.setExecutable(String)
instead.UseOs
class instead.UseOs
class instead.use generic getCause() method
-
MethodDescriptionUse
Commandline.createArg()
insteadUseCommandline.createArg(boolean)
insteadUseCommandLineUtils.quote(String)
instead.UseCommandLineUtils.toString(String[])
instead.UseCommandLineUtils.translateCommandline(String)
instead.instead useDAG.getVertices()
usejava.nio.files.Files.write(filename, data.getBytes(encoding), StandardOpenOption.APPEND, StandardOpenOption.CREATE)
usejava.nio.files.Files.write(filename, data.getBytes(encoding), StandardOpenOption.APPEND, StandardOpenOption.CREATE)
Buffering streams is actively harmful! See the class description as to why. UseIOUtil.copy(InputStream, OutputStream)
instead.use try-with-resources insteaduse try-with-resources insteaduse try-with-resources insteaduse try-with-resources insteaduse try-with-resources insteadUse the genericgetCause()
methodUseStringUtils.isEmpty(String)
insteadUseStringUtils.isNotEmpty(String)
instead
String.getBytes(String)
into aByteArrayInputStream
.