Skip to content

Commit 7e37cfa

Browse files
committed
Solve Codacy issues
1 parent 456b2d3 commit 7e37cfa

File tree

1 file changed

+0
-5
lines changed
  • src/main/java/com/adventofcode/flashk/day17

1 file changed

+0
-5
lines changed

src/main/java/com/adventofcode/flashk/day17/Tile.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
@Setter
1616
public class Tile implements Comparable<Tile>{
1717

18-
private static final Vector2 REVERSE = new Vector2(-1,-1);
1918
public static final Vector2 RIGHT = Vector2.right();
2019
public static final Vector2 LEFT = Vector2.left();
2120
public static final Vector2 UP = Vector2.down();
@@ -26,10 +25,6 @@ public class Tile implements Comparable<Tile>{
2625
private int totalHeatloss = Integer.MAX_VALUE;
2726
private int heatloss;
2827

29-
//private Tile parent;
30-
private Vector2 travelDirection;
31-
private int travelLength;
32-
3328
private final Set<Pair<Vector2, Integer>> visitedDirectionsPerLength = new HashSet<>();
3429

3530
public Tile(int heatloss, int row, int col){

0 commit comments

Comments
 (0)