[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] [generics] Patch: FYI: use SystemProperties
From: |
Tom Tromey |
Subject: |
[cp-patches] [generics] Patch: FYI: use SystemProperties |
Date: |
25 Sep 2005 15:56:31 -0600 |
I'm checking this in on the generics branch.
As suggested by Mark, we should use SystemProperties here.
Tom
Index: ChangeLog
from Tom Tromey <address@hidden>
* java/util/Formatter.java (lineSeparator): Use SystemProperties.
Index: java/util/Formatter.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/util/Attic/Formatter.java,v
retrieving revision 1.1.2.1
diff -u -r1.1.2.1 Formatter.java
--- java/util/Formatter.java 25 Sep 2005 02:55:13 -0000 1.1.2.1
+++ java/util/Formatter.java 25 Sep 2005 21:51:15 -0000
@@ -50,6 +50,8 @@
import java.io.UnsupportedEncodingException;
import java.math.BigInteger;
+import gnu.classpath.SystemProperties;
+
/** @since 1.5 */
public class Formatter implements Closeable, Flushable
{
@@ -71,7 +73,7 @@
private static final String FLAGS = "--#+ 0,(";
private static final String lineSeparator
- = System.getProperty("line.separator");
+ = SystemProperties.getProperty("line.separator");
public enum BigDecimalLayoutForm
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] [generics] Patch: FYI: use SystemProperties,
Tom Tromey <=