You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by hi...@apache.org on 2007/05/21 11:37:56 UTC

svn commit: r540088 - /harmony/enhanced/classlib/trunk/modules/lang-management/src/main/java/java/lang/management/MemoryPoolMXBean.java

Author: hindessm
Date: Mon May 21 02:37:56 2007
New Revision: 540088

URL: http://svn.apache.org/viewvc?view=rev&rev=540088
Log:
Applying patch from "[#HARMONY-3918] [classlib] [lang-management] Minor Javadoc fix in MemoryPoolMXBean".

Modified:
    harmony/enhanced/classlib/trunk/modules/lang-management/src/main/java/java/lang/management/MemoryPoolMXBean.java

Modified: harmony/enhanced/classlib/trunk/modules/lang-management/src/main/java/java/lang/management/MemoryPoolMXBean.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/lang-management/src/main/java/java/lang/management/MemoryPoolMXBean.java?view=diff&rev=540088&r1=540087&r2=540088
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/lang-management/src/main/java/java/lang/management/MemoryPoolMXBean.java (original)
+++ harmony/enhanced/classlib/trunk/modules/lang-management/src/main/java/java/lang/management/MemoryPoolMXBean.java Mon May 21 02:37:56 2007
@@ -210,9 +210,8 @@
      * </p>
      * 
      * @param threshold The new, non-negative threshold.
-     * @throws IllegalArgumentException if <code>threshold</code> is negative
-     *         or greater than the maximum amount supported by this pool, if
-     *         defined.
+     * @throws IllegalArgumentException if the new <code>threshold</code> is either negative
+     *         or greater than the maximum memory allowed.
      * @throws UnsupportedOperationException if this is not supported.
      * @throws SecurityException if caller doesn't have
      *         <code>ManagementPermission("control")</code>.
@@ -225,9 +224,8 @@
      * </p>
      * 
      * @param threshold The new, non-negative threshold.
-     * @throws IllegalArgumentException if <code>threshold</code> is negative
-     *         or greater than the maximum amount supported by this pool, if
-     *         defined.
+     * @throws IllegalArgumentException if the new <code>threshold</code> is either negative
+     *         or greater than the maximum memory allowed.
      * @throws UnsupportedOperationException if this is not supported.
      * @throws SecurityException if caller doesn't have
      *         <code>ManagementPermission("control")</code>.