]
George Gastaldi commented on FORGE-2484:
----------------------------------------
Pull request updated. Please re-check. It now supports multiple constants
java-new-enum-const should follow the naming convention
-------------------------------------------------------
Key: FORGE-2484
URL:
https://issues.jboss.org/browse/FORGE-2484
Project: Forge
Issue Type: Sub-task
Components: Java EE
Affects Versions: 2.19.1.Final
Reporter: Antonio Goncalves
Assignee: George Gastaldi
Priority: Minor
Fix For: 2.x Future
At the moment to add a new constant to an enum we type :
{code}
java-new-enum-const VISA ;
{code}
To follow the other commands, it should have a {{named}} parameter
{code}
java-new-enum-const --named VISA ;
java-new-enum-const --named MASTER_CARD ;
java-new-enum-const --named AMERICAN_EXPRESS ;
{code}
Changing {{new}} to {{add}} we could end up with :
{code}
java-add-enum-const --named VISA ;
java-add-enum-const --named MASTER_CARD ;
java-add-enum-const --named AMERICAN_EXPRESS ;
{code}