[ https://issues.apache.org/jira/browse/COLLECTIONS-664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16240043#comment-16240043 ]
ASF GitHub Bot commented on COLLECTIONS-664: -------------------------------------------- GitHub user zhangminglei opened a pull request: https://github.com/apache/commons-collections/pull/33 [COLLECTIONS-664] Add a class that extend a load method which accept … …a filename. You can merge this pull request into a Git repository by running: $ git pull https://github.com/zhangminglei/commons-collections COLLECTIONS-664 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/commons-collections/pull/33.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #33 ---- commit 3ee56fdce999bcf5164c0339601546c2b9b2cd70 Author: zhangminglei <zml13856086...@163.com> Date: 2017-11-06T09:06:47Z [COLLECTIONS-664] Add a class that extend a load method which accept a filename. ---- > Add class FileProperties to load file name directly > --------------------------------------------------- > > Key: COLLECTIONS-664 > URL: https://issues.apache.org/jira/browse/COLLECTIONS-664 > Project: Commons Collections > Issue Type: New Feature > Reporter: mingleizhang > > For example, In some interface, needs we have a {{java.util.Properties}} as a > parameter. In common case, we have different profiles in maven under > different environments that we can random selection. And use the current > classloader, usually belongs to AppclassLoader to get it's inputstream. I > propose we should add a functionality that can directly read a file name and > return a {{java.util.Properties}} as a return value. -- This message was sent by Atlassian JIRA (v6.4.14#64029)