Hibernate version: 3.1.3
I just downloaded Hibernate 3.1.3, and I was stepping through the debugger during this code snippet:
Code:
Configuration configuration = new Configuration();
configuration.configure();
When I noticed this code at line 140-142 of org.hibernate.util.ConfigHelper.getResourceAsStream(String):
Code:
if ( stream == null ) {
Environment.class.getResourceAsStream( resource );
}
I believe line 141 should be:
Code:
stream = Environment.class.getResourceAsStream( resource );
Is this a bug?