Delete legacy java code.