commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CRYPTO-86) What purpose does the Properties instance serve?
Date Tue, 21 Jun 2016 09:58:57 GMT

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

Sebb commented on CRYPTO-86:
----------------------------

Also I wonder whether a Properties instance is the best way to pass in the configuration parameters.

It's awkward to use compared with separate parameters which can use the natural type: String,
boolean, enum as appropriate.

Or perhaps a config class that contains the settings?

> What purpose does the Properties instance serve?
> ------------------------------------------------
>
>                 Key: CRYPTO-86
>                 URL: https://issues.apache.org/jira/browse/CRYPTO-86
>             Project: Commons Crypto
>          Issue Type: Bug
>            Reporter: Sebb
>            Assignee: Xianda Ke
>
> The CrytoCipher implementations currently store a reference to a Properties instance.
> However it does not appear to be used by the class except to create a new instance of
the class.
> It looks like the field could be dropped entirely.



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

Mime
View raw message