Skip to content

Commit

Permalink
Remove useless control flow
Browse files Browse the repository at this point in the history
  • Loading branch information
pete_ authored and pete_ committed Sep 24, 2019
1 parent 627a9ef commit 9c5eff4
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions java/src/jmri/jmrit/logix/Tracker.java
Original file line number Diff line number Diff line change
Expand Up @@ -481,12 +481,6 @@ protected boolean move(OBlock block, int state) {
if (size == 0) { // lost tracker
recover(block);
} else { // otherwise head or tail is holding a path fixed through a portal (thrown switch should have derailed train by now)
if (!_occupies.contains(block)) {
/*if (log.isDebugEnabled() && size > 1) {
hasPathBetween(_occupies.getLast(), _occupies.get(size - 2),true);
hasPathBetween(_occupies.getFirst(), _occupies.get(1), true);
}*/
}
makeRange();
}
return false;
Expand Down

0 comments on commit 9c5eff4

Please sign in to comment.