We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3511184 commit b9be64fCopy full SHA for b9be64f
src/NHibernate/Cfg/Environment.cs
@@ -369,8 +369,8 @@ public static void InitializeGlobalProperties(IHibernateConfiguration config)
369
370
private static IHibernateConfiguration GetHibernateConfiguration()
371
{
372
- var nhConfig = Settings.ConfigurationManager.GetConfiguration();;
373
- if (log.IsInfoEnabled() && nhConfig == null)
+ var nhConfig = Settings.ConfigurationManager.GetConfiguration();
+ if (nhConfig == null && log.IsInfoEnabled())
374
375
log.Info("{0} section not found in application configuration file", CfgXmlHelper.CfgSectionName);
376
}
0 commit comments