Problemunvalidated
a non-final local variable — The following two code listings are separately accessing a non-final class instance variable and a non-final local variable. Tension: The former caused no warning/error, while the latter did. Outcome: Variable used in lambda expression should be final or effectively final.
468dfbd2-7d4b-44fc-a59e-d45a2e68c55c
a non-final local variable — The following two code listings are separately accessing a non-final class instance variable and a non-final local variable. Tension: The former caused no warning/error, while the latter did. Outcome: Variable used in lambda expression should be final or effectively final.