Remove useless method
Remove method never referenced
- If method or API is not used any more, it is better to remove them rather than keep them.
- Version control/management tools should/will keep old version for you.
Method naming shortly and easy to understood its propose
Attributes in signature should consistent
For example, some method could have attribute "String data", if there are different type of data: text string, byte array string, int value.... It is better to create dedicated method for specific data type or add a new attribute to identify data type. Otherwise, future maintenance could mix them by mistake.