Source:
<code>public void onFocusNextPane() { LogicalWindow currentFocus = getActiveLogicalWindow(); String nextFocusName = null; if (currentFocus != null) { String currentName = currentFocus.getNormal().getName(); <START> if (currentFocus.getNormal().getName() == "TabSet2") <END> nextFocusName = sourceColumnManager_.getLeftColumnName(); else if (sourceColumnManager_.getByName(currentName) != null && !StringUtil.equals(currentName, SourceColumnManager.MAIN_SOURCE_NAME)) { nextFocusName = sourceColumnManager_.getNextColumnName(); if (StringUtil.isNullOrEmpty(nextFocusName)) nextFocusName = panes_.get(0).getNormal().getName(); } else { for (int i = 0; i < panes_.size() - 1; i++) { if (currentFocus.equals(panes_.get(i))) { nextFocusName = panes_.get(i + 1).getNormal().getName(); break; } } } } if (StringUtil.isNullOrEmpty(nextFocusName)) { if (sourceColumnManager_.getSize() > 1) nextFocusName = sourceColumnManager_.getLeftColumnName(); else nextFocusName = panes_.get(0).getNormal().getName(); } if (nextFocusName.contains(SourceColumnManager.COLUMN_PREFIX)) sourceColumnManager_.activateColumn(nextFocusName, null); else { WorkbenchTab selected; if (StringUtil.equals("Console", nextFocusName)) selected = consoleTabPanel_.getSelectedTab(); else { if (StringUtil.equals("TabSet1", nextFocusName)) selected = tabSet1TabPanel_.getSelectedTab(); else selected = tabSet2TabPanel_.getSelectedTab(); activateTab(wbTabToTab_.get(selected)); } if (StringUtil.equals(selected.getTitle(), "Console")) commands_.activateConsole().execute(); else if (selected instanceof DelayLoadWorkbenchTab) ((DelayLoadWorkbenchTab)selected).ensureVisible(true); selected.setFocus(); } }</code><technical_language>Nit: StringUtil.equal compare strings</technical_language>

Target:
public void onFocusNextPane() { LogicalWindow currentFocus = getActiveLogicalWindow(); String nextFocusName = null; if (currentFocus != null) { String currentName = currentFocus.getNormal().getName(); if (StringUtil.equals(currentFocus.getNormal().getName(), "TabSet2")) nextFocusName = sourceColumnManager_.getLeftColumnName(); else if (sourceColumnManager_.getByName(currentName) != null && !StringUtil.equals(currentName, SourceColumnManager.MAIN_SOURCE_NAME)) { nextFocusName = sourceColumnManager_.getNextColumnName(); if (StringUtil.isNullOrEmpty(nextFocusName)) nextFocusName = panes_.get(0).getNormal().getName(); } else { for (int i = 0; i < panes_.size() - 1; i++) { if (currentFocus.equals(panes_.get(i))) { nextFocusName = panes_.get(i + 1).getNormal().getName(); break; } } } } if (StringUtil.isNullOrEmpty(nextFocusName)) { if (sourceColumnManager_.getSize() > 1) nextFocusName = sourceColumnManager_.getLeftColumnName(); else nextFocusName = panes_.get(0).getNormal().getName(); } if (nextFocusName.contains(SourceColumnManager.COLUMN_PREFIX)) sourceColumnManager_.activateColumn(nextFocusName, null); else { WorkbenchTab selected; if (StringUtil.equals("Console", nextFocusName)) selected = consoleTabPanel_.getSelectedTab(); else { if (StringUtil.equals("TabSet1", nextFocusName)) selected = tabSet1TabPanel_.getSelectedTab(); else selected = tabSet2TabPanel_.getSelectedTab(); activateTab(wbTabToTab_.get(selected)); } if (StringUtil.equals(selected.getTitle(), "Console")) commands_.activateConsole().execute(); else if (selected instanceof DelayLoadWorkbenchTab) ((DelayLoadWorkbenchTab)selected).ensureVisible(true); selected.setFocus(); } }