harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ge...@apache.org
Subject svn commit: r466114 - /incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/System.java
Date Fri, 20 Oct 2006 13:56:28 GMT
Author: geirm
Date: Fri Oct 20 06:56:27 2006
New Revision: 466114

URL: http://svn.apache.org/viewvc?view=rev&rev=466114
Log:
Remove javadoc that was identical to Java SE spec javadoc.  We 
need to be very careful not do to this - we don't have the rights.



Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/System.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/System.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/System.java?view=diff&rev=466114&r1=466113&r2=466114
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/System.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/System.java
Fri Oct 20 06:56:27 2006
@@ -689,19 +689,17 @@
 
     /**
      * <p>
-     * Removes the system property indicated by the specified key.
+     * Removes the system property for the specified key.
      * </p>
+     * 
      * <p>
-     * First, if a security manager exists, its
-     * <code>SecurityManager.checkPermission</code> method is called with a
-     * <code>PropertyPermission(key, "write")</code> permission. This may
-     * result in a <code>SecurityException</code> being thrown. If no
-     * exception is thrown, the specified property is removed.
-     * </p>
+     * Please see the Java SE API documentation for further
+     * information on this method.
+     * <p>
+     * 
+     * @param key the system property to be removed.
+     * @return previous value or null if no value existed
      * 
-     * @param key The name of the system property to remove.
-     * @return The previous value of the system property or <code>null</code>,
-     *         if there was no value.
      * @throws NullPointerException if the <code>key</code> argument is
      *         <code>null</code>.
      * @throws IllegalArgumentException if the <code>key</code> argument is
@@ -709,11 +707,6 @@
      * @throws SecurityException if a security manager exists and write access
      *         to the specified property is not allowed.
      * @since 1.5
-     * @see #getProperty(String)
-     * @see #setProperty(String, String)
-     * @see Properties
-     * @see SecurityException
-     * @see SecurityManager#checkPropertiesAccess()
      */
     public static String clearProperty(String key) {
         if (key == null) {



Mime
View raw message