Improve final Objects handling #13
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: bea/HidekoBot#13
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently,
final
constants mostly use camel-case for naming, which is wrong.They should instead be all uppercase with underscores as separators.
Additionally, we often have methods returning final constants. Following Java best practices, final constants should be public and directly accessible, if that's their scope - not requiring a useless method call that isn't doing any logic (and is ambiguous).
Fix final variables treatmentto Improve final Objects handlingKeep in mind that not all final constants are required to be uppercase. Non-static fields and local variables are often left in camel case.
See: [Link 1] [Link 2].
This was partially addressed in
94037b252f
. More checks are due.