]> git.mxchange.org Git - jshop-core.git/commitdiff
use final where possible
authorRoland Haeder <roland@mxchange.org>
Fri, 18 Sep 2015 08:38:10 +0000 (10:38 +0200)
committerRoland Haeder <roland@mxchange.org>
Fri, 18 Sep 2015 08:38:10 +0000 (10:38 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

src/org/mxchange/jshopcore/model/basket/BaseBasket.java

index def592671a3dd94efca64bdb910b174ab4f968ef..bf476b98744f2d6defe599ac87e3d0b45d83b8d7 100644 (file)
@@ -74,7 +74,7 @@ public abstract class BaseBasket<T extends AddableBasketItem> implements Basket<
                List<T> list = new LinkedList<>();
 
                // Iterate over full item list
-               for (T item : this.deque) {
+               for (final T item : this.deque) {
                        // item should not be null
                        if (null == item) {
                                // Abort here