[hibernate-issues] [Hibernate-JIRA] Created: (HHH-2563) Log messages in LoadContexts.locateLoadingCollectionEntry(CollectionKey key) are incorrect

Gail Badner (JIRA) noreply at atlassian.com
Fri Apr 13 19:26:04 EDT 2007


Log messages in LoadContexts.locateLoadingCollectionEntry(CollectionKey key) are incorrect
------------------------------------------------------------------------------------------

                 Key: HHH-2563
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2563
             Project: Hibernate3
          Issue Type: Bug
          Components: core
    Affects Versions: 3.2.4
         Environment: Hibernate3_2 branch
            Reporter: Gail Badner
            Priority: Minor


Log messages should be swapped in LoadContexts.locateLoadingCollectionEntry(CollectionKey key):
     ...
     LoadingCollectionEntry rtn = ( LoadingCollectionEntry ) xrefLoadingCollectionEntries.get( key );
     if ( log.isTraceEnabled() ) {
         if ( rtn == null ) {
             log.trace( "collection [" + key + "] located in load context" );
         }
         else {
             log.trace( "collection [" + key + "] not located in load context" );
         }
     }
     ...

I'll attach a patch shortly.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list