Buggy code:
private void addDeclaredInterfaceImplInternal ( ClassMetaData meta , Class < ? > iface ) { } void setInterfaceImpl ( ClassMetaData meta , Class < ? > impl ) { } private void setInterfaceImplInternal ( ClassMetaData meta , Class < ? > impl ) { } InterfaceImplGenerator getImplGenerator ( ) { } public ClassMetaData getMetaData ( Object oid , ClassLoader envLoader , boolean mustExist ) { } private void resolveIdentityClass ( Object oid ) { } public ClassMetaData [ ] getImplementorMetaDatas ( Class < ? > cls , ClassLoader envLoader , boolean mustExist ) { } private ClassMetaData [ ] getImplementorMetaDatasInternal ( Collection < Class < ? > > classes , ClassLoader envLoader , boolean mustExist ) { } public NonPersistentMetaData getPersistenceAware ( Class < ? > cls ) { } public NonPersistentMetaData [ ] getPersistenceAwares ( ) { } private NonPersistentMetaData [ ] getPersistenceAwaresInternal ( ) { } public NonPersistentMetaData addPersistenceAware ( Class < ? > cls ) { } private NonPersistentMetaData addPersistenceAwareInternal ( Class < ? > cls ) { } public boolean removePersistenceAware ( Class < ? > cls ) { } public NonPersistentMetaData getNonMappedInterface ( Class < ? > iface ) { } public NonPersistentMetaData [ ] getNonMappedInterfaces ( ) { } private NonPersistentMetaData [ ] getNonMappedInterfacesInternal ( ) { } public NonPersistentMetaData addNonMappedInterface ( Class < ? > iface ) { } private NonPersistentMetaData addNonMappedInterfaceInternal ( Class < ? > iface ) { } public boolean removeNonMappedInterface ( Class < ? > iface ) { } public void clear ( ) { } private void clearInternal ( ) { } public Set < String > getPersistentTypeNames ( boolean devpath , ClassLoader envLoader ) { } private Set < String > getPersistentTypeNamesInternal ( boolean devpath , ClassLoader envLoader ) { } public Collection < Class < ? > > loadPersistentTypes ( boolean devpath , ClassLoader envLoader ) { } public Collection < Class < ? > > loadPersistentTypes ( boolean devpath , ClassLoader envLoader , boolean mustExist ) { } private Collection < Class < ? > > loadPersistentTypesInternal ( boolean devpath , ClassLoader envLoader , boolean mustExist ) { } private Class < ? > classForName ( String name , ClassLoader loader ) { } Collection < Class < ? > > getPCSubclasses ( Class < ? > cls ) { } public void register ( Class < ? > cls ) { } private void loadRegisteredClassMetaData ( ClassLoader envLoader ) { } Class < ? > [ ] processRegisteredClasses ( ClassLoader envLoader ) { } private void processRegisteredClass ( Class < ? > cls ) { } void registerAlias ( Class < ? > cls ) { } public void registerAlias ( String alias , Class < ? > cls ) { } private void updateImpls ( Class < ? > cls , Class < ? > leastDerived , Class < ? > check ) { } private boolean isLeastDerivedImpl ( Class < ? > inter , Class < ? > cls ) { } private void addToCollection ( Map map , Class < ? > key , Class < ? > value , boolean inheritance ) { } private void addToCollectionInternal ( Map map , Class < ? > key , Class < ? > value , boolean inheritance ) { } public void setMetaModel ( Class < ? > m2 ) { } public void setMetaModel ( ClassMetaData meta , Class < ? > m2 ) { } public Class < ? > getMetaModel ( ClassMetaData meta , boolean load ) { } public Class < ? > getMetaModel ( Class < ? > entity , boolean load ) { if ( _metamodel . containsKey ( entity ) ) return _metamodel . get ( entity ) ; String m2 = _factory . getMetaModelClassName ( entity . getName ( ) ) ; try { ClassLoader loader = AccessController . doPrivileged ( J2DoPrivHelper . getClassLoaderAction ( entity ) ) ; Class < ? > m2cls = AccessController . doPrivileged ( J2DoPrivHelper . getForNameAction ( m2 , true , loader ) ) ; _metamodel . put ( entity , m2cls ) ; return m2cls ; } catch ( Throwable t ) { <START_BUG> if ( _log . isWarnEnabled ( ) ) <END_BUG> _log . warn ( MetaDataRepository . _loc . get ( "meta-no-model" , m2 , entity , t ) ) ; } return null ; } public void setConfiguration ( Configuration conf ) { } public void startConfiguration ( ) { } public void endConfiguration ( ) { } private void initializeMetaDataFactory ( ) { } public QueryMetaData getQueryMetaData ( Class < ? > cls , String name , ClassLoader envLoader , boolean mustExist ) { } private QueryMetaData getQueryMetaDataInternal ( Class < ? > cls , String name , ClassLoader envLoader , boolean mustExist ) { } private void resolveAll ( ClassLoader envLoader ) { } private QueryMetaData getQueryMetaDataInternal ( Class < ? > cls , String name , ClassLoader envLoader ) { } public QueryMetaData [ ] getQueryMetaDatas ( ) { } public QueryMetaData getCachedQueryMetaData ( Class < ? > cls , String name ) { } public QueryMetaData addQueryMetaData ( Class < ? > cls , String name ) { } protected QueryMetaData newQueryMetaData ( Class < ? > cls , String name ) { } public boolean removeQueryMetaData ( QueryMetaData meta ) { } public boolean removeQueryMetaData ( Class < ? > cls , String name ) { } public QueryMetaData searchQueryMetaDataByName ( String name ) { } private static Object getQueryKey ( QueryMetaData meta ) { } protected static Object getQueryKey ( Class < ? > cls , String name ) { } public SequenceMetaData getSequenceMetaData ( String name , ClassLoader envLoader , boolean mustExist ) { } private SequenceMetaData getSequenceMetaDataInternal ( String name , ClassLoader envLoader , boolean mustExist ) { } SequenceMetaData getSequenceMetaData ( ClassMetaData context , String name , boolean mustExist ) { } private SequenceMetaData getSequenceMetaDataInternal ( String name , ClassLoader envLoader ) { }

Fix:
if ( _log . isInfoEnabled ( ) )