You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Putting @Value on a class makes all fields final, including static fields. For uninitialized fields, this leads to compiler errors.
Current workaround: Add @NonFinal to the field.
The text was updated successfully, but these errors were encountered:
rspilker
changed the title
@ Value should not make uninitialized static fields final@Value should not make uninitialized static fields final
Sep 22, 2015
Putting
@Value
on a class makes all fields final, including static fields. For uninitialized fields, this leads to compiler errors.Current workaround: Add
@NonFinal
to the field.The text was updated successfully, but these errors were encountered: