Buggy code:
public void setRow ( Integer row ) { } public Integer getColumn ( ) { } public void setColumn ( Integer column ) { } public String getOldValue ( ) { } public void setOldValue ( String oldValue ) { } public String getNewValue ( ) { } public void setNewValue ( String newValue ) { } public String getUndoType ( ) { } public void setUndoType ( String undoType ) { } public String getUndoItemType ( ) { } public void setUndoItemType ( String undoItemType ) { } public int getOldSortColumnIndex ( ) { } public void setOldSortColumnIndex ( int oldSortColumnIndex ) { } public int getNewSortColumnIndex ( ) { } public void setNewSortColumnIndex ( int newSortColumnIndex ) { } public SortOrder getOldSortOrder ( ) { } public void setOldSortOrder ( SortOrder oldSortOrder ) { } public SortOrder getNewSortOrder ( ) { } public void setNewSortOrder ( SortOrder newSortOrder ) { } public int getAddedColumnIndex ( ) { } public void setAddedColumnIndex ( int addedColumnIndex ) { } public int getDeletedColumnIndex ( ) { } public void setDeletedColumnIndex ( int deletedColumnIndex ) { } public Map < String , Object > getOldMetaboliteAbbreviationIdMap ( ) { } public void setOldMetaboliteAbbreviationIdMap ( Map < String , Object > oldMetaboliteAbbreviationIdMap ) { } public Map < String , Object > getNewMetaboliteAbbreviationIdMap ( ) { } public void setNewMetaboliteAbbreviationIdMap ( Map < String , Object > newMetaboliteAbbreviationIdMap ) { } public Map < String , Object > getOldMetaboliteUsedMap ( ) { } public void setOldMetaboliteUsedMap ( Map < String , Object > oldMetaboliteUsedMap ) { } public Map < String , Object > getNewMetaboliteUsedMap ( ) { } public void setNewMetaboliteUsedMap ( Map < String , Object > newMetaboliteUsedMap ) { } public ArrayList < Integer > getOldSuspiciousMetabolites ( ) { } public void setOldSuspiciousMetabolites ( ArrayList < Integer > oldSuspiciousMetabolites ) { } public ArrayList < Integer > getNewSuspiciousMetabolites ( ) { } public void setNewSuspiciousMetabolites ( ArrayList < Integer > newSuspiciousMetabolites ) { } public ArrayList < Integer > getOldUnusedList ( ) { } public void setOldUnusedList ( ArrayList < Integer > oldUnusedList ) { } public ArrayList < Integer > getNewUnusedList ( ) { } public void setNewUnusedList ( ArrayList < Integer > newUnusedList ) { } public ArrayList < Integer > getReactionIdList ( ) { } public void setReactionIdList ( ArrayList < Integer > reactionIdList ) { } public int getTableCopyIndex ( ) { } public void setTableCopyIndex ( int tableCopyIndex ) { } public ArrayList < String > getOldMetaColumnNames ( ) { } public void setOldMetaColumnNames ( ArrayList < String > oldMetaColumnNames ) { } public ArrayList < String > getNewMetaColumnNames ( ) { } public void setNewMetaColumnNames ( ArrayList < String > newMetaColumnNames ) { } public String getColumnName ( ) { } public void setColumnName ( String columnName ) { } public String createUndoDescription ( ) { String undoDescription = "" ; if ( this . undoType . equals ( TYPING ) ) { undoDescription = ( ( ( ( ( ( UndoConstants . TYPING ) + "'" ) + ( this . newValue ) ) + "'<seq2seq4repair_space>in<seq2seq4repair_space>'" ) + ( this . columnName ) ) + "'<seq2seq4repair_space>row<seq2seq4repair_space>" ) + ( ( this . row ) + 1 ) ; } else if ( this . undoType . equals ( REPLACE ) ) { undoDescription = UndoConstants . REPLACE ; } else if ( this . undoType . equals ( REPLACE_ALL ) ) { undoDescription = UndoConstants . REPLACE_ALL ; } else if ( this . undoType . equals ( ADD_ROW ) ) { undoDescription = UndoConstants . ADD_ROW ; } else if ( this . undoType . equals ( ADD_ROWS ) ) { undoDescription = UndoConstants . ADD_ROWS ; } else if ( this . undoType . equals ( ADD_COLUMN ) ) { undoDescription = ( ( UndoConstants . ADD_COLUMN_PREFIX ) + ( displayMetabolitesColumnNameFromIndex ( this . addedColumnIndex , this . newMetaColumnNames ) ) ) + ( UndoConstants . ADD_COLUMN_SUFFIX ) ; } else if ( this . undoType . equals ( DELETE_ROW ) ) { undoDescription = UndoConstants . DELETE_ROW ; } else if ( this . undoType . equals ( DELETE_COLUMN ) ) { <START_BUG> undoDescription = ( ( UndoConstants . DELETE_COLUMN_PREFIX ) + ( displayMetabolitesColumnNameFromIndex ( ( ( this . deletedColumnIndex ) + 1 ) , this . oldMetaColumnNames ) ) ) + ( UndoConstants . DELETE_COLUMN_SUFFIX ) ; <END_BUG> } else if ( this . undoType . equals ( PASTE ) ) { undoDescription = UndoConstants . PASTE ; } else if ( this . undoType . equals ( CLEAR_CONTENTS ) ) { undoDescription = UndoConstants . CLEAR_CONTENTS ; } else if ( this . undoType . equals ( SORT ) ) { undoDescription = UndoConstants . SORT ; } else if ( this . undoType . equals ( UNSORT ) ) { undoDescription = UndoConstants . UNSORT ; } else if ( this . undoType . equals ( DELETE_UNUSED ) ) { undoDescription = UndoConstants . DELETE_UNUSED ; } else if ( this . undoType . equals ( RENAME_METABOLITE ) ) { undoDescription = UndoConstants . RENAME_METABOLITE ; } return undoDescription + ( UndoConstants . METABOLITE_UNDO_SUFFIX ) ; } public void undo ( ) { } public void copyTableUndoAction ( ) { } public void redo ( ) { } public void copyTableRedoAction ( ) { } public boolean undoEntry ( ) { } public boolean undoAddRow ( ) { } public void undoAddColumn ( ) { } public void undoRename ( ) { } public void undoDeleteColumn ( ) { } public boolean redoEntry ( ) { } public void redoRename ( ) { } public void redoAddRow ( ) { } public void redoAddColumn ( ) { } public void redoDeleteColumn ( ) { } public static String tableCopySuffix ( int count ) { } public String displayMetabolitesColumnNameFromIndex ( int columnIndex , ArrayList < String > metaColumnNames ) { } public void restoreOldCollections ( ) { }

Fix:
undoDescription = ( ( UndoConstants . DELETE_COLUMN_PREFIX ) + ( displayMetabolitesColumnNameFromIndex ( this . deletedColumnIndex , this . oldMetaColumnNames ) ) ) + ( UndoConstants . DELETE_COLUMN_SUFFIX ) ;