[java] Remove unneeded import