delete some java code