db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-6296) Simplify PropertyUtil using Properties.stringPropertyNames()
Date Fri, 19 Jul 2013 09:36:49 GMT

    [ https://issues.apache.org/jira/browse/DERBY-6296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13713491#comment-13713491
] 

ASF subversion and git services commented on DERBY-6296:
--------------------------------------------------------

Commit 1504809 from [~knutanders] in branch 'code/trunk'
[ https://svn.apache.org/r1504809 ]

DERBY-6296: Simplify PropertyUtil using Properties.stringPropertyNames()
                
> Simplify PropertyUtil using Properties.stringPropertyNames()
> ------------------------------------------------------------
>
>                 Key: DERBY-6296
>                 URL: https://issues.apache.org/jira/browse/DERBY-6296
>             Project: Derby
>          Issue Type: Improvement
>          Components: Services
>    Affects Versions: 10.11.0.0
>            Reporter: Knut Anders Hatlen
>            Assignee: Knut Anders Hatlen
>            Priority: Trivial
>         Attachments: d6296-1a.diff
>
>
> PropertyUtil should use Properties.stringPropertyNames() (new method in Java 6) instead
of Properties.propertyNames() since a Set<String> view of the property names is easier
to work with than an Enumeration<?>. The Set<String> view can be used with for-each
loops and many of the helper methods in the standard library.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message