You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by gg...@apache.org on 2014/03/24 21:11:56 UTC

svn commit: r1581030 - /logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/Level.java

Author: ggregory
Date: Mon Mar 24 20:11:55 2014
New Revision: 1581030

URL: http://svn.apache.org/r1581030
Log:
Javadoc: better text.

Modified:
    logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/Level.java

Modified: logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/Level.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/Level.java?rev=1581030&r1=1581029&r2=1581030&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/Level.java (original)
+++ logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/Level.java Mon Mar 24 20:11:55 2014
@@ -128,8 +128,8 @@ public final class Level implements Comp
      * Compares this level against the level passed as an argument and returns true if this
      * level is the same or more specific.
      *
-     * @param level The level to check.
-     * @return True if the passed Level is more specific or the same as this Level.
+     * @param level The level to test.
+     * @return True if the given Level is more specific or the same as this Level.
      */
     public boolean isAtLeastAsSpecificAs(final Level level) {
         return this.intLevel <= level.intLevel;
@@ -139,8 +139,8 @@ public final class Level implements Comp
      * Compares this level against the level passed as an argument and returns true if this
      * level is the same or more specific.
      *
-     * @param level The level to check.
-     * @return True if the passed Level is more specific or the same as this Level.
+     * @param level The level to test.
+     * @return True if the given Level is more specific or the same as this Level.
      */
     public boolean isAtLeastAsSpecificAs(final int level) {
         return this.intLevel <= level;
@@ -167,18 +167,18 @@ public final class Level implements Comp
     }
 
     /**
-     * Compares the specified Level against this one.
-     * @param level The level to check.
-     * @return True if the passed Level is more specific or the same as this Level.
+     * Compares the given Level against this one.
+     * @param level The level to test.
+     * @return True if the given Level is more specific or the same as this Level.
      */
     public boolean isLessOrEqual(final Level level) {
         return this.intLevel <= level.intLevel;
     }
 
     /**
-     * Compares the specified Level against this one.
-     * @param level The level to check.
-     * @return True if the passed Level is more specific or the same as this Level.
+     * Compares the given Level against this one.
+     * @param level The level to test.
+     * @return True if the given Level is more specific or the same as this Level.
      */
     public boolean isLessOrEqual(final int level) {
         return this.intLevel <= level;