commons-issues mailing list archives

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


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

View raw message