mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-24 21:12:18 +00:00
Fix warning regarding logger should be accessed in a static way.
This commit is contained in:
parent
23e5cd4972
commit
db51400570
@ -61,9 +61,8 @@ public class JbossIntegrationFilter extends AbstractIntegrationFilter {
|
||||
Context lc = this.getLookupContext();
|
||||
|
||||
if (lc == null) {
|
||||
if (super.logger.isWarnEnabled()) {
|
||||
super.logger.warn(
|
||||
"Could not obtain a Context to perform lookup");
|
||||
if (logger.isWarnEnabled()) {
|
||||
logger.warn("Could not obtain a Context to perform lookup");
|
||||
}
|
||||
|
||||
return null;
|
||||
@ -75,8 +74,8 @@ public class JbossIntegrationFilter extends AbstractIntegrationFilter {
|
||||
subject = (Subject) result;
|
||||
}
|
||||
} catch (NamingException ne) {
|
||||
if (super.logger.isWarnEnabled()) {
|
||||
super.logger.warn("Lookup on Subject failed "
|
||||
if (logger.isWarnEnabled()) {
|
||||
logger.warn("Lookup on Subject failed "
|
||||
+ ne.getLocalizedMessage());
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user