db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DERBY-6296) Simplify PropertyUtil using Properties.stringPropertyNames()
Date Fri, 12 Jul 2013 10:51:49 GMT
Knut Anders Hatlen created DERBY-6296:
-----------------------------------------

             Summary: 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


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