This change breaks binary compatibility and so needs to be documented in changes.xml.
Ralph On Mar 24, 2014, at 1:03 PM, [email protected] wrote: > 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; > } > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
