struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From swiftelan <>
Subject [GitHub] struts pull request: WW-4590 - Allow to use multiple names in resu...
Date Tue, 19 Jan 2016 20:06:02 GMT
Github user swiftelan commented on the pull request:
    An annotation attribute that is defined as an array does not have to have the curly braces
to define a single value for that attribute.
    Basing a Java API for configuration on XML syntax is a poor implementation. Why not support
the entire XML configuration syntax in the annotation? Java has APIs to express a collection
of items. It is much easier to utilize an array than a comma separated value attribute. The
array allows the developer to clearly express their intent. Utilizing an array does not require
parsing when the configuration value is accessed.

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