Adjusts 1 to JDK7.
Fixing use of time.