Buggy code:
public class ObjectDef { private static Log log = LogFactory . getLog ( ObjectDef . class ) ; private ObjectBean objectBean ; private Map < String , TableDef > nameOfTable = new HashMap < String , TableDef > ( ) ; private Map < String , ColumnDef > nameOfColumn = new HashMap < String , ColumnDef > ( ) ; private Map < String , Collection < ReferenceDef > > nameOfModelParentRef = new Hashtable < String , Collection < ReferenceDef > > ( ) ; private Map < String , Collection < ReferenceDef > > nameOfForeignParentRef = new Hashtable < String , Collection < ReferenceDef > > ( ) ; private Map < String , Collection < ReferenceDef > > nameOfModelChildRef = new Hashtable < String , Collection < ReferenceDef > > ( ) ; private Map < String , Collection < ReferenceDef > > nameOfForeignChildRef = new Hashtable < String , Collection < ReferenceDef > > ( ) ; private ColumnDef rootColumnDef = null ; private TreeDef modelTree = new TreeDef ( ) ; private TreeDef foreignTree = new TreeDef ( ) ; private TreeDef groupTree = new TreeDef ( ) ; private Collection < ReferenceDef > modelRefs = new HashSet < ReferenceDef > ( ) ; private Collection < ReferenceDef > foreignRefs = new HashSet < ReferenceDef > ( ) ; public ColumnDef getRootColumn ( ) { } public TableDef tableByName ( String tableName ) { } public Collection < TableDef > tables ( ) { } public Collection < String > tableNames ( ) { } private void putTable ( TableDef table ) { } public ColumnDef columnByName ( String tableName , String columnName ) { } public Collection < ReferenceDef > refsByModelParent ( String tableName ) { } public Collection < ReferenceDef > refsByModelChild ( String tableName ) { } public Collection < ReferenceDef > refsByForeignParent ( String tableName ) { } public Collection < ReferenceDef > refsByForeignChild ( String tableName ) { } private void putColumn ( ColumnDef column ) { } private void put ( String key , ReferenceDef value , Map < String , Collection < ReferenceDef > > container ) { } public ObjectDef ( ObjectBean objectBean ) { } private void bind ( ) { } private void buildTable ( ) { } private void buildColumn ( ) { } private void buildRef ( ) { } private void buildTree ( TreeDef tree , Collection < ReferenceDef > refs ) { } private void buildTree ( ) { buildTree ( modelTree , modelRefs ) ; buildTree ( foreignTree , foreignRefs ) ; for ( NodeDef node : modelTree . getAllNodes ( ) ) { if ( ( ! ( node . hasOutput ( ) ) ) && ( ! ( ObjectUtils . equals ( node . getTable ( ) , rootColumnDef . getTable ( ) ) ) ) ) { <START_BUG> ObjectDef . log . warn ( ( "model<seq2seq4repair_space>node<seq2seq4repair_space>without<seq2seq4repair_space>any<seq2seq4repair_space>output<seq2seq4repair_space>connection:" + ( node . getTable ( ) ) ) ) ; <END_BUG> } if ( ( node . hasOutput ( ) ) && ( ObjectUtils . equals ( node . getTable ( ) , rootColumnDef . getTable ( ) ) ) ) { Collection < String > columns = new ArrayList < String > ( ) ; Collection < ConnectDef > connectDefs = node . getTargetConnects ( ) ; for ( ConnectDef connectDef : connectDefs ) { columns . add ( connectDef . getSourceColumn ( ) . getColumnName ( ) ) ; } StringBuilder message = new StringBuilder ( ) ; message . append ( "connection<seq2seq4repair_space>output<seq2seq4repair_space>from<seq2seq4repair_space>root<seq2seq4repair_space>node[" ) ; message . append ( node . getTable ( ) ) ; message . append ( "]<seq2seq4repair_space>will<seq2seq4repair_space>not<seq2seq4repair_space>be<seq2seq4repair_space>effective,<seq2seq4repair_space>output<seq2seq4repair_space>columns:<seq2seq4repair_space>" ) ; message . append ( StringUtils . join ( columns , "," ) ) ; ObjectDef . log . warn ( message ) ; } } } private void examTree ( TreeDef tree ) { } private boolean examNode ( NodeDef node , Set < TableDef > parents , Set < NodeDef > points , Stack < ConnectDef > track ) { } public TreeDef getModelTree ( ) { } public TreeDef getForeignTree ( ) { } }

Fix:
ObjectDef . log . warn ( ( "child<seq2seq4repair_space>table<seq2seq4repair_space>without<seq2seq4repair_space>any<seq2seq4repair_space>model<seq2seq4repair_space>reference::" + ( node . getTable ( ) ) ) ) ;