Community
Participate
Working Groups
@Inject @Optional public void setCornerRadius(@Named("radius") Integer radius) { cornerSize = radius.intValue(); parent.redraw(); } These methods say they're optional (and can take null) but NPE. PW
On context disposal we call with injected values == null.
I guess this is fixed because we are not facing any NPEs, right? So can we close this one?
Well, I should add a null check and then close it.
Closing this as we are no longer using injection to set this property.