From 1efd76ea8405b52d6a4b23143ad29b123534f974 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Tue, 21 Jan 2020 14:13:09 +0100 Subject: Path : add final variable qualifier --- core/src/ch/asynk/gdx/boardgame/Path.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/ch/asynk/gdx/boardgame/Path.java b/core/src/ch/asynk/gdx/boardgame/Path.java index a7e1d5e..72745aa 100644 --- a/core/src/ch/asynk/gdx/boardgame/Path.java +++ b/core/src/ch/asynk/gdx/boardgame/Path.java @@ -92,7 +92,7 @@ public class Path extends IterableArray implements Disposable, Pool.Poolab // rotation ... from = to; next(); - Orientation o = (hasNext() ? Orientation.fromTiles(from, current()) : finalOrientation); + final Orientation o = (hasNext() ? Orientation.fromTiles(from, current()) : finalOrientation); // if already facing, transform into a straight move if (piece.isFacing(o)) { to = current(); -- cgit v1.1-2-g2b99