diff options
author | pascalschumacher <pascalschumacher@gmx.net> | 2017-01-20 17:40:38 +0100 |
---|---|---|
committer | pascalschumacher <pascalschumacher@gmx.net> | 2017-01-20 17:41:03 +0100 |
commit | d0e2bfc46659025e6262b2e5de984a8359c9dada (patch) | |
tree | aeb38048c2e29baea8487730063d32d77d2ecd1a /src/main/java/org/apache/commons/lang3/SystemUtils.java | |
parent | aab4018d8f30c80c04ce763a56ba01dde4ff844e (diff) | |
download | apache-commons-lang-d0e2bfc46659025e6262b2e5de984a8359c9dada.tar.gz |
deprecate SystemUtils#LINE_SEPARATOR in favor of java.lang.System#lineSeparator
Diffstat (limited to 'src/main/java/org/apache/commons/lang3/SystemUtils.java')
-rw-r--r-- | src/main/java/org/apache/commons/lang3/SystemUtils.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/org/apache/commons/lang3/SystemUtils.java b/src/main/java/org/apache/commons/lang3/SystemUtils.java index 8425c5ca0..f55361830 100644 --- a/src/main/java/org/apache/commons/lang3/SystemUtils.java +++ b/src/main/java/org/apache/commons/lang3/SystemUtils.java @@ -664,8 +664,10 @@ public class SystemUtils { * sync with that System property. * </p> * + * @deprecated Use {@link System#lineSeparator} instead, since it does not require a privilege check. * @since Java 1.1 */ + @Deprecated public static final String LINE_SEPARATOR = getSystemProperty("line.separator"); /** |