7c85c9ea0b
Motivation: We null out the element in the array after we decrement the current size of the Stack but not directly write back the updated size to the stored field. This is problematic as we do some validation before we write it back and so may never do so if the validation fails. This then later can lead to have null objects returned where not expected Modifications: Update size directly after null out object Result: No more unexpected null value possible |
||
---|---|---|
.. | ||
src | ||
pom.xml |