struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lukaszlenart <>
Subject [GitHub] struts pull request: WW-4360: Fix a few NullPointerExceptions iden...
Date Sat, 28 Jun 2014 07:02:18 GMT
Github user lukaszlenart commented on a diff in the pull request:
    --- Diff: xwork-core/src/main/java/com/opensymphony/xwork2/config/providers/
    @@ -425,7 +427,7 @@ protected void addAction(Element actionElement, PackageConfig.Builder
             } else {
                 if (!verifyAction(className, name, location)) {
                     if (LOG.isErrorEnabled())
    -                    LOG.error("Unable to verify action [#0] with class [#1], from [#2]",
name, className, location.toString());
    +                    LOG.error("Unable to verify action [#0] with class [#1], from [#2]",
name, className, ObjectUtils.toString(location));
    --- End diff --
    I prefer extending `Logger` interface and define new method: `void error(String msg, Object...
args);` the same as I already did for `debug` and `trace`. Thus will allow reduce `ObjectUtils`
dependency and give new functionality :-)
    This can be handled with dedicated PR

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message