The following document contains the results of PMD's CPD 5.3.5.
File | Line |
---|---|
org\opentrafficsim\road\network\factory\osm\output\Convert.java | 307 |
org\opentrafficsim\road\network\factory\osm\output\Convert.java | 410 |
if (osmLink.getLanes() == 1 && !osmLink.isOneway()) { laneAttributes = new LaneAttributes(laneType, Color.GREEN, LongitudinalDirectionality.DIR_BOTH); structure.put(0, laneAttributes); } else { for (int i = 0 - backwards; i < forwards; i++) { if (i < 0) { laneAttributes = new LaneAttributes(laneType, Color.GREEN, LongitudinalDirectionality.DIR_MINUS); structure.put(i, laneAttributes); } if (i >= 0) { laneAttributes = new LaneAttributes(laneType, Color.GREEN, LongitudinalDirectionality.DIR_PLUS); structure.put(i, laneAttributes); } } } } |