-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"final" on effective final fields #5250
"final" on effective final fields #5250
Conversation
+ Java style array declaration instead of C-style Signed-off-by: pizzi80 <[email protected]>
private FacesEvent event = null; | ||
private int rowIndex = -1; | ||
private final FacesEvent event; | ||
private final int rowIndex; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why was -1
default removed? Seems a breaking change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nevermind. The PR didn't show that it was in a nested class WrapperEvent extends FacesEvent
. Approved.
Signed-off-by: pizzi80 <[email protected]>
private static ConcurrentHashMap threadInitContext = new ConcurrentHashMap(2); | ||
private static ConcurrentHashMap initContextServletContext = new ConcurrentHashMap(2); | ||
private static final ConcurrentHashMap<Thread,FacesContext> threadInitContext = new ConcurrentHashMap<>(2); | ||
private static final ConcurrentHashMap<Thread,InitFacesContext> initContextServletContext = new ConcurrentHashMap<>(2); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI: this caused a major problem during 4.1.1/4.1.2 release.
Please never import Impl specific classes into API classes :)
It's already fixed. Just a heads up for the future.
final
on effective final fields