Buggy code:
public class TypeAttribute { private String attrName ; private String attrTypeName ; private int attrNo ; private int dataScale ; private int multiType ; private String typeCode ; private String collectionBaseType ; public TypeAttribute ( String attrName , String attrTypeName , int attrNo , int dataScale , int multiType , String typeCode , String collectionBaseType ) { } public String getCollectionBaseType ( ) { } public void setCollectionBaseType ( String collectionBaseType ) { } public String getTypeCode ( ) { } public void setTypeCode ( String typeCode ) { } public int getMultiType ( ) { } public void setMultiType ( int multiType ) { } public String getAttrName ( ) { } public void setAttrName ( String attrName ) { } public String getAttrTypeName ( ) { } public void setAttrTypeName ( String attrTypeName ) { } public int getAttrNo ( ) { } public void setAttrNo ( int attrNo ) { } public int getDataScale ( ) { } public void setDataScale ( int dataScale ) { } public String getJavaDataType ( ) { } public String getJavaPropertyName ( ) { } public String getJavaPropertyNameBig ( ) { } public String getJavaCollectionBaseTypeNameBig ( ) { } public int getAttrNoIndex ( ) { } public String getStructAdder ( ) { } public String getObjectAdder ( ) { if ( "COLLECTION" . equals ( typeCode ) ) { return String . format ( "result.set%s(%sConverter.getObjectList((Array)attr[%d]));<seq2seq4repair_space>////<seq2seq4repair_space>%s" , getJavaPropertyNameBig ( ) , getJavaCollectionBaseTypeNameBig ( ) , getAttrNoIndex ( ) , attrName ) ; } else if ( "OBJECT" . equals ( typeCode ) ) { return String . format ( "result.set%s(%sConverter.getObject((Struct)attr[%d]));<seq2seq4repair_space>////<seq2seq4repair_space>%s" , getJavaPropertyNameBig ( ) , getJavaDataType ( ) , getAttrNoIndex ( ) , attrName ) ; } else if ( "DATE" . equals ( attrTypeName ) ) { <START_BUG> return String . format ( "result.set%s((Date)attr[%d]);<seq2seq4repair_space>////<seq2seq4repair_space>%s" , getJavaPropertyNameBig ( ) , getAttrNoIndex ( ) , attrName ) ; <END_BUG> } else if ( "TIMESTAMP" . equals ( attrTypeName ) ) { return String . format ( "result.set%s((Timestamp)attr[%d]);<seq2seq4repair_space>////<seq2seq4repair_space>%s" , getJavaPropertyNameBig ( ) , getAttrNoIndex ( ) , attrName ) ; } else if ( "CLOB" . equals ( attrTypeName ) ) { return String . format ( "result.set%s(((Clob)attr[%d]).getSubString(1,<seq2seq4repair_space>(int)((Clob)attr[%d]).length()));<seq2seq4repair_space>////<seq2seq4repair_space>%s" , getJavaPropertyNameBig ( ) , getAttrNoIndex ( ) , getAttrNoIndex ( ) , attrName ) ; } else if ( "Integer" . equals ( getJavaDataType ( ) ) ) { return String . format ( "result.set%s(((BigDecimal)attr[%d]).intValue());<seq2seq4repair_space>////<seq2seq4repair_space>%s" , getJavaPropertyNameBig ( ) , getAttrNoIndex ( ) , attrName ) ; } else { return String . format ( "result.set%s((%s)attr[%d]);<seq2seq4repair_space>////<seq2seq4repair_space>%s" , getJavaPropertyNameBig ( ) , getJavaDataType ( ) , getAttrNoIndex ( ) , attrName ) ; } } @ Override public String toString ( ) { } }

Fix:
return String . format ( "result.set%s(new<seq2seq4repair_space>Date(((Timestamp)attr[%d]).getTime()));<seq2seq4repair_space>////<seq2seq4repair_space>%s" , getJavaPropertyNameBig ( ) , getAttrNoIndex ( ) , attrName ) ;