Modified Java file.