crowdcode-de / KissMDA

Keep It Simple Stupid, MDA!
33 stars 8 forks source link

Cartridge kissmda-cartridges-simple-java: change adder method with singular name #37

Closed lofidewanto closed 10 years ago

lofidewanto commented 10 years ago

At the moment we create "adder" method for Collection. We use following method naming convention:

addXxx, where Xxx is the name of the property. So if we have something like: ... companies, the adder method will look like this: addCompanies(Company company) ==> This is not nice.

Correct is something like: addCompany(Company company) ==> addCompany is always singular

lofidewanto commented 10 years ago

Done!