Buggy code:
public void sendStartedTyping ( ) { } public void inputText ( String aString ) { } public boolean isHost ( ) { } public void joinGroup ( ID remote , IConnectContext data ) throws ContainerConnectException { } public void leaveGroup ( ) { } public URL [ ] getCodeBase ( ) { } public void localRegisterProxy ( User sender , String proxyClass , String name ) { } public void localUnregisterProxy ( User ud , String name ) { } public Object getObject ( ID obj ) { } public void makeProxyObject ( ID target , String proxyClass , String name ) { } public void memberAdded ( ID member ) { } public void memberRemoved ( final ID member ) { } public void messageProxyObject ( ID target , String classname , String meth , Object [ ] args ) { } public void otherActivated ( ID object ) { } public void otherDeactivated ( ID object ) { } public void refreshProject ( ) { } public void registerEclipseProxy ( boolean localAlso , ID [ ] toReceivers , String proxyClass , String name ) { } public void removeProxyObject ( ID target , String name ) { } public void sendNotifyUserAdded ( ) { } public void sendPrivateMessageToUser ( User touser , String msg ) { } public void sendRegisterProxy ( ID toID , String proxyClass , String name ) { } public void sendRequestUserUpdate ( ID requestTarget ) { } public void sendCVSProjectUpdateRequest ( User touser , String msg ) { } public boolean isCVSShared ( ) { } protected void doCVSUpdateOperation ( IResource proj , User fromUser ) { } protected void handleCVSProjectUpdateRequest ( final User fromUser , final String msg ) { } public void sendRingMessageToUser ( User user , String msg ) { } public void sendShowTextMsg ( String msg ) { } public void sendUnregisterProxy ( ID toID , String proxyClass ) { } public void sendUpdateTreeDisplay ( ID target , TreeItem item ) { } public void sendUserUpdate ( ID target ) { } public void setListener ( SharedObjectEventListener l ) { } public void setServerID ( ID server ) { } public void setVersionString ( String ver ) { } public void setWindowTitle ( String title ) { } public void show ( final boolean show ) { } public void showLineOnGUI ( final ID remote , final String line ) { } public void showRawLine ( final ID sender , final String line , final Runnable onClick ) { } public void showView ( ) { } public static class SharedMarker implements Serializable { private static final long serialVersionUID = 7419507867486828728L ; String message = null ; Integer offset = null ; Integer length = null ; public SharedMarker ( String message , Integer offset , Integer length ) { } public String getMessage ( ) { } public Integer getOffset ( ) { } public Integer getLength ( ) { } public String toString ( ) { } } public void sendAddMarkerForFile ( User touser , String resourceName , int offset , int length ) { } public void sendOpenAndSelectForFile ( User touser , String resourceName , int offset , int length ) { } public void sendLaunchEditorForFile ( User touser , String resourceName ) { } protected void openEditorForFile ( final IFile file ) { } protected Runnable createOpenEditorAndSelectForFileRunnable ( final String resourceName , final EclipseCollabSharedObject . SharedMarker marker ) { } protected void addMarkerForFile ( final IFile file , final EclipseCollabSharedObject . SharedMarker marker ) { } protected void handleAddMarkerForFile ( final User fromuser , final String resourceName , EclipseCollabSharedObject . SharedMarker marker ) { } protected void handleOpenAndSelectForFile ( final User fromuser , final String resourceName , EclipseCollabSharedObject . SharedMarker marker ) { } protected void handleLaunchEditorForFile ( final User fromuser , final String resourceName ) { } protected void showEventInChatOutput ( User fromuser , String resourceName , EclipseCollabSharedObject . SharedMarker marker , Runnable runnable ) { if ( ( localGUI ) != null ) { IResource localRes = getResource ( ) ; String projectName = "" ; if ( localRes != null ) { projectName = localRes . getName ( ) ; } if ( projectName . equals ( "" ) ) { projectName = "<workspace>//" ; } else { projectName = projectName + "//" ; } <START_BUG> final StringBuffer se = new StringBuffer ( "Share<seq2seq4repair_space>my<seq2seq4repair_space>selection<seq2seq4repair_space>on<seq2seq4repair_space>" ) ; <END_BUG> se . append ( projectName ) . append ( resourceName ) ; if ( marker != null ) { se . append ( "<seq2seq4repair_space>(" ) ; se . append ( marker . getOffset ( ) ) . append ( "-" ) . append ( ( ( marker . getOffset ( ) . intValue ( ) ) + ( marker . getLength ( ) . intValue ( ) ) ) ) ; } se . append ( ")" ) ; showRawLine ( fromuser . getUserID ( ) , se . toString ( ) , runnable ) ; } } protected IFile getLocalFileForRemote ( String file ) { } public void sendShowViewWithID ( User touser , String id , String secID , Integer mode ) { } public void sendShowView ( User touser , String id ) { } protected void handleShowViewWithID ( User fromUser , final String id , final String secID , final Integer mode ) { } protected void handleShowView ( User fromUser , final String id ) { } protected IViewPart showViewWithID ( String id , String secID , int mode ) throws PartInitException { } protected IViewPart showView ( String id ) throws PartInitException { } public void unregisterEclipseProxy ( boolean localAlso , ID [ ] toReceivers , String name ) { } public FileReceiverUI getFileReceiverUI ( EclipseFileTransfer transfer , FileTransferParams params ) { } public void updateTreeDisplay ( final TreeItem item ) { } public ViewPart getViewPart ( ) { } public Control getTreeControl ( ) { } public Control getTextControl ( ) { } }

Fix:
final StringBuffer se = new StringBuffer ( "Shared<seq2seq4repair_space>selection<seq2seq4repair_space>on<seq2seq4repair_space>" ) ;