Remove unused Java7 import that made tests fail on Java6