Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Avoid using Reflection to instantiate inner classes
  • Wiki Markup
    -Use a typesafe enum pattern \[Bloch, Item 20\]- (_enum type_ provided, jdk 1.5 onwards, [Docs|http://java.sun.com/j2se/1.5.0/docs/guide/language/enums.html])
  • Do not hardcode sensitive information (covered)
  • compareTo() contract violations like natural ordering that is not consistent with equals

...

  • Wiki Markup
    Usage of {{GetResource}} may be unsafe if class is extended \[Findbugs\]
  • Do not serialize/deserialize resource handles
  • Do not sign encrypted data (SignedObject should be first, followed by SealedObject)

...