-
Enhancement
-
Resolution: Fixed
-
P4
-
9
-
b71
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8136296 | emb-9 | Attila Szegedi | P4 | Resolved | Fixed | team |
JDK-8140953 | 8u91 | Attila Szegedi | P4 | Resolved | Fixed | b01 |
JDK-8132417 | 8u72 | Attila Szegedi | P4 | Closed | Fixed | b01 |
JDK-8147322 | emb-8u91 | Attila Szegedi | P4 | Resolved | Fixed | b01 |
levelCoarserThan, levelCoarserThanOrEqual, levelFinerThan, levelFinerThanOrEqual, all have confusing names and 3 out of four are unnecessary. We really only need levelFinerThanOrEqual, and since java.util.Logger provides the same predicate under name "isLoggable", we should just rename it as such too and simply delegate to the contained j.u.l.Logger:
public boolean isLoggable(final Level level) {
return logger.isLoggable(level);
}
public boolean isLoggable(final Level level) {
return logger.isLoggable(level);
}
- backported by
-
JDK-8136296 DebugLogger has unnecessary API methods
- Resolved
-
JDK-8140953 DebugLogger has unnecessary API methods
- Resolved
-
JDK-8147322 DebugLogger has unnecessary API methods
- Resolved
-
JDK-8132417 DebugLogger has unnecessary API methods
- Closed