Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Allow equalsIgnoreCase when comparing strings

...

  • empty blocks of code MUST be commented, e.g. empty uncommented catch clauses are not allowed
  • classes that override equals() MUST also override hashCode()
  • strings MUST be checked for equality using equals() or equalsIgnoreCase()
  • classes with private constructors MUST be final
  • utility classes MUST NOT have a public constructor
  • interfaces MUST define a type. A utility class SHOULD be used for constants
  • classes MUST NOT contain public member variables

...