From 0d4f76d6f6cc57c4a3d7ba1459c067328a28b493 Mon Sep 17 00:00:00 2001 From: Stephen Colebourne Date: Thu, 15 Jan 2004 21:20:12 +0000 Subject: [PATCH] Make shared keys private scope not public as not really part of API git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137751 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/commons/lang/SystemUtils.java | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/java/org/apache/commons/lang/SystemUtils.java b/src/java/org/apache/commons/lang/SystemUtils.java index 9fba7335f..884235530 100644 --- a/src/java/org/apache/commons/lang/SystemUtils.java +++ b/src/java/org/apache/commons/lang/SystemUtils.java @@ -71,7 +71,7 @@ import java.io.File; * @author Tetsuya Kaneuchi * @author Rafal Krupinski * @since 1.0 - * @version $Id: SystemUtils.java,v 1.28 2004/01/15 21:17:33 scolebourne Exp $ + * @version $Id: SystemUtils.java,v 1.29 2004/01/15 21:20:12 scolebourne Exp $ */ public class SystemUtils { @@ -82,22 +82,22 @@ public class SystemUtils { /** * The System property key for the user home directory. */ - public static final String USER_HOME_KEY = "user.home"; + private static final String USER_HOME_KEY = "user.home"; /** * The System property key for the user directory. */ - public static final String USER_DIR_KEY = "user.dir"; + private static final String USER_DIR_KEY = "user.dir"; /** - * The System property key for the Java IO tenmporary directory. + * The System property key for the Java IO temporary directory. */ - public static final String JAVA_IO_TMPDIR_KEY = "java.io.tmpdir"; + private static final String JAVA_IO_TMPDIR_KEY = "java.io.tmpdir"; /** * The System property key for the Java home directory. */ - public static final String JAVA_HOME_KEY = "java.home"; + private static final String JAVA_HOME_KEY = "java.home"; /** *

The file.encoding System Property.

@@ -932,7 +932,7 @@ public class SystemUtils { } /** - *

Gets the Java home directory.

+ *

Gets the Java home directory as a File.

* * @return a directory * @throws SecurityException if a security manager exists and its @@ -945,7 +945,7 @@ public class SystemUtils { } /** - *

Gets the Java IO temporary directory.

+ *

Gets the Java IO temporary directory as a File.

* * @return a directory * @throws SecurityException if a security manager exists and its @@ -958,7 +958,7 @@ public class SystemUtils { } /** - *

Gets the user directory.

+ *

Gets the user directory as a File.

* * @return a directory * @throws SecurityException if a security manager exists and its @@ -971,7 +971,7 @@ public class SystemUtils { } /** - *

Gets the user home directory.

+ *

Gets the user home directory as a File.

* * @return a directory * @throws SecurityException if a security manager exists and its