Remove deprecated DIR_SEPARATOR and LINE_SEPARATOR (#7641)

Co-authored-by: Alexander Brandes <mc.cache@web.de>
Co-authored-by: Tim Jacomb <21194782+timja@users.noreply.github.com>
This commit is contained in:
authored and GitHub committed 2023-07-14 11:39:13 +02:00
1 parent 0d9705ba3a
commit bbb977cee5
2 files changed
-44

No files matched your search

@@ -152,49 +152,11 @@ public class IOUtils {
}
}
/**
* @deprecated Use instead {@link org.apache.commons.io.IOUtils#DIR_SEPARATOR_UNIX}
*/
@Deprecated
public static final char DIR_SEPARATOR_UNIX = org.apache.commons.io.IOUtils.DIR_SEPARATOR_UNIX;
/**
* @deprecated Use instead {@link org.apache.commons.io.IOUtils#DIR_SEPARATOR_WINDOWS}
*/
@Deprecated
public static final char DIR_SEPARATOR_WINDOWS = org.apache.commons.io.IOUtils.DIR_SEPARATOR_WINDOWS;
/**
* @deprecated Use instead {@link org.apache.commons.io.IOUtils#DIR_SEPARATOR}
*/
@Deprecated
public static final char DIR_SEPARATOR = org.apache.commons.io.IOUtils.DIR_SEPARATOR;
/**
* @deprecated Use instead {@link org.apache.commons.io.IOUtils#LINE_SEPARATOR_UNIX}
*/
@Deprecated
public static final String LINE_SEPARATOR_UNIX = org.apache.commons.io.IOUtils.LINE_SEPARATOR_UNIX;
/**
* @deprecated Use instead {@link org.apache.commons.io.IOUtils#LINE_SEPARATOR_WINDOWS}
*/
@Deprecated
public static final String LINE_SEPARATOR_WINDOWS = org.apache.commons.io.IOUtils.LINE_SEPARATOR_WINDOWS;
/**
* @deprecated Use instead {@link org.apache.commons.io.IOUtils#LINE_SEPARATOR}
*/
@Deprecated
public static final String LINE_SEPARATOR;
static {
// avoid security issues
StringWriter buf = new StringWriter(4);
PrintWriter out = new PrintWriter(buf);
out.println();
LINE_SEPARATOR = buf.toString();
}
/**