Antonio Goncalves created FORGE-2278:
----------------------------------------
Summary: Rename some xxx-new-yyy commands to xxx-add-yyy
Key: FORGE-2278
URL:
https://issues.jboss.org/browse/FORGE-2278
Project: Forge
Issue Type: Sub-task
Components: UI - Shell
Affects Versions: 2.15.1.Final
Reporter: Antonio Goncalves
Fix For: 3.x Future
Using the right words makes things easier for the new comer. I'm implementing a new UI
command to add an injection point to a class. So, the name of the command would be
{{cdi-add-injection-point}}. But then I started to have a look at the other
{{xxx-add-yyy}} commands :
{code}
addon-add-dependency
project-add-dependencies
project-add-managed-dependencies
project-add-repository
java-add-annotation
constraint-add
{code}
They all add something, into something already existing. If we take this definition for
granted, shouldn't the following commands be renamed add instead of new :
{code}
jpa-new-named-query
cdi-new-conversation
java-new-enum-const
java-new-field
java-new-method
jpa-new-field
{code}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)