Source:
<code>public void updateFileMenuButtons(int view) { if (isReadOnly) { return; } if (view == 0) { fileDropDown.setItemEnabled(MESSAGES.deleteProjectButton(), false); fileDropDown.setItemEnabled(MESSAGES.trashProjectMenuItem(), ProjectListBox.getProjectListBox().getProjectList().getMyProjectsCount() == 0); fileDropDown.setItemEnabled(MESSAGES.exportAllProjectsMenuItem(), <START> ProjectListBox.getProjectListBox().getProjectList().getMyProjectsCount() > 0); <END> fileDropDown.setItemEnabled(MESSAGES.exportProjectMenuItem(), false); fileDropDown.setItemEnabled(MESSAGES.saveMenuItem(), false); fileDropDown.setItemEnabled(MESSAGES.saveAsMenuItem(), false); fileDropDown.setItemEnabled(MESSAGES.checkpointMenuItem(), false); buildDropDown.setItemEnabled(MESSAGES.showBarcodeMenuItem(), false); buildDropDown.setItemEnabled(MESSAGES.downloadToComputerMenuItem(), false); } else { fileDropDown.setItemEnabled(MESSAGES.deleteProjectButton(), true); fileDropDown.setItemEnabled(MESSAGES.trashProjectMenuItem(), false); fileDropDown.setItemEnabled(MESSAGES.exportAllProjectsMenuItem(), ProjectListBox.getProjectListBox().getProjectList().getMyProjectsCount() > 0); fileDropDown.setItemEnabled(MESSAGES.exportProjectMenuItem(), true); fileDropDown.setItemEnabled(MESSAGES.saveMenuItem(), true); fileDropDown.setItemEnabled(MESSAGES.saveAsMenuItem(), true); fileDropDown.setItemEnabled(MESSAGES.checkpointMenuItem(), true); buildDropDown.setItemEnabled(MESSAGES.showBarcodeMenuItem(), true); buildDropDown.setItemEnabled(MESSAGES.downloadToComputerMenuItem(), true); } updateKeystoreFileMenuButtons(true); }</code><technical_language>Code style: continuation indent 4 spaces</technical_language>

Target:
public void updateFileMenuButtons(int view) { if (isReadOnly) { return; } if (view == 0) { fileDropDown.setItemEnabled(MESSAGES.deleteProjectButton(), false); fileDropDown.setItemEnabled(MESSAGES.trashProjectMenuItem(), ProjectListBox.getProjectListBox().getProjectList().getMyProjectsCount() == 0); fileDropDown.setItemEnabled(MESSAGES.exportAllProjectsMenuItem(), ProjectListBox.getProjectListBox().getProjectList().getMyProjectsCount() > 0); fileDropDown.setItemEnabledById(WIDGET_NAME_EXPORTPROJECT, false); fileDropDown.setItemEnabled(MESSAGES.saveMenuItem(), false); fileDropDown.setItemEnabled(MESSAGES.saveAsMenuItem(), false); fileDropDown.setItemEnabled(MESSAGES.checkpointMenuItem(), false); buildDropDown.setItemEnabled(MESSAGES.showBarcodeMenuItem(), false); buildDropDown.setItemEnabled(MESSAGES.downloadToComputerMenuItem(), false); } else { fileDropDown.setItemEnabled(MESSAGES.deleteProjectButton(), true); fileDropDown.setItemEnabled(MESSAGES.trashProjectMenuItem(), false); fileDropDown.setItemEnabled(MESSAGES.exportAllProjectsMenuItem(), ProjectListBox.getProjectListBox().getProjectList().getMyProjectsCount() > 0); fileDropDown.setItemEnabledById(WIDGET_NAME_EXPORTPROJECT, true); fileDropDown.setItemEnabled(MESSAGES.saveMenuItem(), true); fileDropDown.setItemEnabled(MESSAGES.saveAsMenuItem(), true); fileDropDown.setItemEnabled(MESSAGES.checkpointMenuItem(), true); buildDropDown.setItemEnabled(MESSAGES.showBarcodeMenuItem(), true); buildDropDown.setItemEnabled(MESSAGES.downloadToComputerMenuItem(), true); } updateKeystoreFileMenuButtons(true); }