Skip to main content

Adam Bien: Why Not Private Visibility For Injected Fields [Screencast]

Adam Bien presents Why Not Private Visibility For Injected Fields [Screencast]:

Package visibility for injected fields encapsulates way better than public accessors and makes unit testing more convenient at the same time. The following video demonstrates what can happen in worst case...

Community: Java Enterprise