Ignore:
Timestamp:
02/25/2019 04:36:04 PM (7 years ago)
Author:
jdalbey
Message:

Multi file commit: adding and elaborating on comments and javadoc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/tmcsim/utilities/VehicleDetectionStation.java

    r272 r274  
    88 
    99/** 
    10  * Represent a single VDS. 
     10 * Represent a single VDS, "a logical grouping of detectors" at a particular  
     11 * location in one direction. 
    1112 * @author jdalbey 
    1213 */ 
     
    3334        lineScanner.next(); // skip City 
    3435        String raw_pm = lineScanner.next().trim(); 
    35         if (raw_pm.startsWith("R")) 
     36        // remove any postmile prefix, if it exists. 
     37        if (Character.isAlphabetic(raw_pm.charAt(0))) 
    3638        { 
    3739            raw_pm = raw_pm.substring(1); 
Note: See TracChangeset for help on using the changeset viewer.