Revert "Fix new java file from last feature"

This reverts commit 20b6f696590394f3ad7ed57afc388d2add0ae306.