Delete useless java