You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Dapeng Sun (JIRA)" <ji...@apache.org> on 2016/06/29 10:22:37 UTC

[jira] [Commented] (CRYPTO-92) Handling default properties; allow SystemProperties to be ignored

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

Dapeng Sun commented on CRYPTO-92:
----------------------------------

Thank Sebb, pr https://github.com/apache/commons-crypto/pull/64 is created for this issue.

> Handling default properties; allow SystemProperties to be ignored
> -----------------------------------------------------------------
>
>                 Key: CRYPTO-92
>                 URL: https://issues.apache.org/jira/browse/CRYPTO-92
>             Project: Commons Crypto
>          Issue Type: Improvement
>            Reporter: Sebb
>
> The code currently checks both local Properties and SystemProperties in several places.
> This is unnecessary, as the Properties class already supports the notion of property defaults, as these can be passed in to the constructor.
> I think it would be better to drop the specific check of the SystemProperties.
> This would be more flexible, as the user could decide whether or not to allow the use of SystemProperties or some other set of defaults.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)