Skip to content

Commit b854ef0

Browse files
committed
remove useless log message
1 parent e1fc61b commit b854ef0

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

hibernate-core/src/main/java/org/hibernate/cfg/Configuration.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -761,11 +761,6 @@ public Configuration addClass(Class<?> entityClass) throws MappingException {
761761
if ( entityClass == null ) {
762762
throw new IllegalArgumentException( "The specified class cannot be null" );
763763
}
764-
765-
if ( log.isDebugEnabled() ) {
766-
log.debugf( "adding resource mappings from class convention : %s", entityClass.getName() );
767-
}
768-
769764
return addResource( entityClass.getName().replace( '.', '/' ) + ".hbm.xml" );
770765
}
771766

0 commit comments

Comments
 (0)