scolebourne 2004/01/15 13:20:12
Modified: lang/src/java/org/apache/commons/lang SystemUtils.java
Log:
Make shared keys private scope not public as not really part of API
Revision Changes Path
1.29 +10 -10
jakarta-commons/lang/src/java/org/apache/commons/lang/SystemUtils.java
Index: SystemUtils.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/SystemUtils.java,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- SystemUtils.java 15 Jan 2004 21:17:33 -0000 1.28
+++ SystemUtils.java 15 Jan 2004 21:20:12 -0000 1.29
@@ -82,22 +82,22 @@
/**
* 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";
/**
* <p>The <code>file.encoding</code> System Property.</p>
@@ -932,7 +932,7 @@
}
/**
- * <p>Gets the Java home directory.</p>
+ * <p>Gets the Java home directory as a <code>File</code>.</p>
*
* @return a directory
* @throws SecurityException if a security manager exists and its
@@ -945,7 +945,7 @@
}
/**
- * <p>Gets the Java IO temporary directory.</p>
+ * <p>Gets the Java IO temporary directory as a <code>File</code>.</p>
*
* @return a directory
* @throws SecurityException if a security manager exists and its
@@ -958,7 +958,7 @@
}
/**
- * <p>Gets the user directory.</p>
+ * <p>Gets the user directory as a <code>File</code>.</p>
*
* @return a directory
* @throws SecurityException if a security manager exists and its
@@ -971,7 +971,7 @@
}
/**
- * <p>Gets the user home directory.</p>
+ * <p>Gets the user home directory as a <code>File</code>.</p>
*
* @return a directory
* @throws SecurityException if a security manager exists and its
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]