Buggy code:
public MenuManager getMenuManager ( ) { } public int getNumber ( ) { } public IWorkbenchPage [ ] getPages ( ) { } public IPartService getPartService ( ) { } protected Layout getLayout ( ) { } public IPerspectiveService getPerspectiveService ( ) { } public ISelectionService getSelectionService ( ) { } public boolean getShellActivated ( ) { } public StatusLineManager getStatusLineManager ( ) { } public IWorkbench getWorkbench ( ) { } public String getToolbarLabel ( String actionSetId ) { } private boolean hardClose ( ) { } public boolean isApplicationMenu ( String menuID ) { } boolean isWorkbenchCoolItemId ( String id ) { } void lockCoolBar ( boolean lock ) { } public boolean okToClose ( ) { } public IWorkbenchPage openPage ( final String perspId , final IAdaptable input ) throws WorkbenchException { } public IWorkbenchPage openPage ( IAdaptable input ) throws WorkbenchException { } public void removePageListener ( IPageListener l ) { } public void removePerspectiveListener ( org . eclipse . ui . IPerspectiveListener l ) { } void removePerspectiveShortcut ( IPerspectiveDescriptor perspective , WorkbenchPage page ) { } private IStatus unableToRestorePage ( IMemento pageMem ) { } public IStatus restoreState ( IMemento memento , IPerspectiveDescriptor activeDescriptor ) { Assert . isNotNull ( getShell ( ) ) ; MultiStatus result = new MultiStatus ( PlatformUI . PLUGIN_ID , IStatus . OK , WorkbenchMessages . getString ( "WorkbenchWindow.problemsRestoringWindow" ) , null ) ; Rectangle displayBounds = getShell ( ) . getDisplay ( ) . getBounds ( ) ; Rectangle shellBounds = new Rectangle ( 0 , 0 , 0 , 0 ) ; Integer bigInt ; bigInt = memento . getInteger ( TAG_FAST_VIEW_SIDE ) ; if ( bigInt != null ) { fastViewBar . dock ( bigInt . intValue ( ) ) ; } bigInt = memento . getInteger ( TAG_X ) ; shellBounds . x = ( bigInt == null ) ? 0 : bigInt . intValue ( ) ; bigInt = memento . getInteger ( TAG_Y ) ; shellBounds . y = ( bigInt == null ) ? 0 : bigInt . intValue ( ) ; bigInt = memento . getInteger ( TAG_WIDTH ) ; shellBounds . width = ( bigInt == null ) ? 0 : bigInt . intValue ( ) ; bigInt = memento . getInteger ( TAG_HEIGHT ) ; shellBounds . height = ( bigInt == null ) ? 0 : bigInt . intValue ( ) ; if ( ! ( shellBounds . isEmpty ( ) ) ) { if ( ! ( shellBounds . intersects ( displayBounds ) ) ) { Rectangle clientArea = getShell ( ) . getDisplay ( ) . getClientArea ( ) ; shellBounds . x = clientArea . x ; shellBounds . y = clientArea . y ; } getShell ( ) . setBounds ( shellBounds ) ; } if ( "true" . equals ( memento . getString ( TAG_MAXIMIZED ) ) ) { getShell ( ) . setMaximized ( true ) ; } if ( "true" . equals ( memento . getString ( TAG_MINIMIZED ) ) ) { } if ( ( getCoolBarManager ( ) ) != null ) { CoolBarManager coolBarMgr = getCoolBarManager ( ) ; IMemento coolBarMem = memento . getChild ( TAG_COOLBAR_LAYOUT ) ; if ( coolBarMem != null ) { Integer lockedInt = coolBarMem . getInteger ( TAG_LOCKED ) ; if ( ( lockedInt != null ) && ( ( lockedInt . intValue ( ) ) == 1 ) ) { coolBarMgr . setLockLayout ( true ) ; } else { coolBarMgr . setLockLayout ( false ) ; } ArrayList layout = new ArrayList ( ) ; IMemento [ ] contributionMems = coolBarMem . getChildren ( TAG_COOLITEM ) ; for ( int i = 0 ; i < ( contributionMems . length ) ; i ++ ) { IMemento contributionMem = contributionMems [ i ] ; String type = contributionMem . getString ( TAG_ITEM_TYPE ) ; if ( type == null ) { continue ; } String id = contributionMem . getString ( TAG_ID ) ; if ( ( id != null ) && ( ( coolBarMgr . find ( id ) ) != null ) ) { if ( Policy . DEBUG_TOOLBAR_DISPOSAL ) { <START_BUG> System . out . println ( "Not<seq2seq4repair_space>loading<seq2seq4repair_space>duplicate<seq2seq4repair_space>cool<seq2seq4repair_space>bar<seq2seq4repair_space>item." ) ; <END_BUG> } continue ; } IContributionItem newItem = null ; if ( type . equals ( TAG_TYPE_SEPARATOR ) ) { if ( id != null ) { newItem = new Separator ( id ) ; } else { newItem = new Separator ( ) ; } } else if ( id != null ) { if ( type . equals ( TAG_TYPE_GROUPMARKER ) ) { newItem = new GroupMarker ( id ) ; } else if ( ( type . equals ( TAG_TYPE_TOOLBARCONTRIBUTION ) ) || ( type . equals ( TAG_TYPE_PLACEHOLDER ) ) ) { Integer width = contributionMem . getInteger ( TAG_ITEM_X ) ; Integer height = contributionMem . getInteger ( TAG_ITEM_Y ) ; IContributionItem oldItem = coolBarMgr . find ( id ) ; if ( oldItem != null ) { newItem = oldItem ; } else { newItem = new ToolBarContributionItem ( new org . eclipse . jface . action . ToolBarManager ( coolBarMgr . getStyle ( ) ) , id ) ; if ( type . equals ( TAG_TYPE_PLACEHOLDER ) ) { ToolBarContributionItem newToolBarItem = ( ( ToolBarContributionItem ) ( newItem ) ) ; if ( height != null ) { newToolBarItem . setCurrentHeight ( height . intValue ( ) ) ; } if ( width != null ) { newToolBarItem . setCurrentWidth ( width . intValue ( ) ) ; } newItem = new PlaceholderContributionItem ( newToolBarItem ) ; } newItem . setVisible ( false ) ; IContributionItem refItem = findAlphabeticalOrder ( MB_ADDITIONS , id , coolBarMgr ) ; if ( refItem != null ) { coolBarMgr . insertAfter ( refItem . getId ( ) , newItem ) ; } else { coolBarMgr . add ( newItem ) ; } }

Fix:
System . out . println ( ( "Not<seq2seq4repair_space>loading<seq2seq4repair_space>duplicate<seq2seq4repair_space>cool<seq2seq4repair_space>bar<seq2seq4repair_space>item:<seq2seq4repair_space>" + id ) ) ;