Update Traffic.java

Fixed float/long discrepancy.