You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Goldstein Lyor (JIRA)" <ji...@apache.org> on 2015/06/21 09:28:00 UTC

[jira] [Resolved] (SSHD-494) Convert ECCurves class into an enum

     [ https://issues.apache.org/jira/browse/SSHD-494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Goldstein Lyor resolved SSHD-494.
---------------------------------
    Resolution: Fixed

> Convert ECCurves class into an enum
> -----------------------------------
>
>                 Key: SSHD-494
>                 URL: https://issues.apache.org/jira/browse/SSHD-494
>             Project: MINA SSHD
>          Issue Type: Improvement
>    Affects Versions: 1.0.0
>            Reporter: Goldstein Lyor
>            Assignee: Goldstein Lyor
>             Fix For: 1.0.0
>
>
> The current code contains information about each specific curve spread among several methods, lists, maps, etc, with inconsistent behavior (e.g., some methods throw an exception if no matching curve found, others return _nulll_). By using enum(s) we will consolidate the information for each curve into its relevant constant body, and also facilitate adding new curves in the future.



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