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();
|
Context lc = this.getLookupContext();
|
||||||
|
|
||||||
if (lc == null) {
|
if (lc == null) {
|
||||||
if (super.logger.isWarnEnabled()) {
|
if (logger.isWarnEnabled()) {
|
||||||
super.logger.warn(
|
logger.warn("Could not obtain a Context to perform lookup");
|
||||||
"Could not obtain a Context to perform lookup");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
|
@ -75,8 +74,8 @@ public class JbossIntegrationFilter extends AbstractIntegrationFilter {
|
||||||
subject = (Subject) result;
|
subject = (Subject) result;
|
||||||
}
|
}
|
||||||
} catch (NamingException ne) {
|
} catch (NamingException ne) {
|
||||||
if (super.logger.isWarnEnabled()) {
|
if (logger.isWarnEnabled()) {
|
||||||
super.logger.warn("Lookup on Subject failed "
|
logger.warn("Lookup on Subject failed "
|
||||||
+ ne.getLocalizedMessage());
|
+ ne.getLocalizedMessage());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue