LANG-1075 - Deprecate SystemUtils.FILE_SEPARATOR and SystemUtils.PATH_SEPARATOR

This commit is contained in:
Chas Honton 2015-07-13 22:26:44 -07:00
parent 61579335bc
commit fb7784fa14
2 changed files with 7 additions and 0 deletions

View File

@ -22,6 +22,7 @@
<body>
<release version="3.5" date="tba" description="tba">
<action issue="LANG-1075" type="update" dev="chas">Deprecate SystemUtils.FILE_SEPARATOR and SystemUtils.PATH_SEPARATOR</action>
<action issue="LANG-1154" type="add" dev="chas" due-to="Gary Gregory">FastDateFormat APIs that use a StringBuilder</action>
<action issue="LANG-1149" type="add" dev="chas" due-to="Gregory Zak">Ability to throw checked exceptions without declaring them</action>
<action issue="LANG-1002" type="fix" dev="chas" due-to="Michael Osipov">Several predefined ISO FastDateFormats in DateFormatUtils are incorrect</action>

View File

@ -129,8 +129,11 @@ public class SystemUtils {
* sync with that System property.
* </p>
*
* @deprecated Use {@link File#separator}, since it is guaranteed to be a
* string containing a single character and it does not require a privilege check.
* @since Java 1.1
*/
@Deprecated
public static final String FILE_SEPARATOR = getSystemProperty("file.separator");
/**
@ -733,8 +736,11 @@ public class SystemUtils {
* sync with that System property.
* </p>
*
* @deprecated Use {@link File#pathSeparator}, since it is guaranteed to be a
* string containing a single character and it does not require a privilege check.
* @since Java 1.1
*/
@Deprecated
public static final String PATH_SEPARATOR = getSystemProperty("path.separator");
/**