Changeset 398 in tmcsimulator for trunk/src/atmsdriver/model
- Timestamp:
- 04/25/2019 03:28:43 PM (7 years ago)
- File:
-
- 1 edited
-
trunk/src/atmsdriver/model/Highways.java (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/atmsdriver/model/Highways.java
r353 r398 176 176 // Get the highway by route number 177 177 Highway highway = getHighwayByRouteNumber(routeNumber); 178 // This check added to fix defect #118. Handles situation when the 179 // events file specifies a highway that doesn't exist in the network. 178 180 if (highway == null) 179 181 { … … 196 198 startPost = postmile; 197 199 endPost = postmile + range; 198 //TODO: Catch NPE exception for situation when the events file199 // specifies a highway that doesn't exist in the network.200 // Also the case where a desired postmile to color isn't in201 // the network. Ticket 118202 200 // iterate through the stations, if within the specified highway 203 201 // stretch, update the station by direction and apply dot color
Note: See TracChangeset
for help on using the changeset viewer.
