logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1581025 - /logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/Level.java
Date Mon, 24 Mar 2014 20:03:14 GMT
Author: ggregory
Date: Mon Mar 24 20:03:13 2014
New Revision: 1581025

URL: http://svn.apache.org/r1581025
Log:
Two test methods are missing the "is" predicate, which some other methods use.

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=1581025&r1=1581024&r2=1581025&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:03:13 2014
@@ -151,7 +151,7 @@ public final class Level implements Comp
      * @param level The level to check.
      * @return True if the passed Level is more specific or the same as this Level.
      */
-    public boolean lessOrEqual(final Level level) {
+    public boolean isLessOrEqual(final Level level) {
         return this.intLevel <= level.intLevel;
     }
 
@@ -160,7 +160,7 @@ public final class Level implements Comp
      * @param level The level to check.
      * @return True if the passed Level is more specific or the same as this Level.
      */
-    public boolean lessOrEqual(final int level) {
+    public boolean isLessOrEqual(final int level) {
         return this.intLevel <= level;
     }
 



Mime
View raw message