Program: 68557
Project: 68557
Buggy source:
/** 
 * INTERNAL:
 */
public MetadataLogger(AbstractSession session){
  m_session=session;
  m_ctxStrings=new HashMap();
  m_ctxStrings.put(OVERRIDE_ANNOTATION_WITH_XML,OVERRIDE_ANNOTATION_WITH_XML);
  m_ctxStrings.put(OVERRIDE_NAMED_ANNOTATION_WITH_XML,OVERRIDE_NAMED_ANNOTATION_WITH_XML);
  m_ctxStrings.put(OVERRIDE_XML_WITH_ECLIPSELINK_XML,OVERRIDE_XML_WITH_ECLIPSELINK_XML);
  m_ctxStrings.put(OVERRIDE_NAMED_XML_WITH_ECLIPSELINK_XML,OVERRIDE_NAMED_XML_WITH_ECLIPSELINK_XML);
  m_ctxStrings.put(IGNORE_ANNOTATION,IGNORE_ANNOTATION);
  m_ctxStrings.put(IGNORE_PRIVATE_OWNED_ANNOTATION,IGNORE_PRIVATE_OWNED_ANNOTATION);
  m_ctxStrings.put(IGNORE_RETURN_INSERT_ANNOTATION,IGNORE_RETURN_INSERT_ANNOTATION);
  m_ctxStrings.put(IGNORE_RETURN_UPDATE_ANNOTATION,IGNORE_RETURN_UPDATE_ANNOTATION);
  m_ctxStrings.put(IGNORE_LOB,IGNORE_LOB);
  m_ctxStrings.put(IGNORE_TEMPORAL,IGNORE_TEMPORAL);
  m_ctxStrings.put(IGNORE_ENUMERATED,IGNORE_ENUMERATED);
  m_ctxStrings.put(IGNORE_SERIALIZED,IGNORE_SERIALIZED);
  m_ctxStrings.put(IGNORE_VERSION_LOCKING,IGNORE_VERSION_LOCKING);
  m_ctxStrings.put(IGNORE_INHERITANCE_SUBCLASS_CACHE,IGNORE_INHERITANCE_SUBCLASS_CACHE);
  m_ctxStrings.put(IGNORE_INHERITANCE_SUBCLASS_READ_ONLY,IGNORE_INHERITANCE_SUBCLASS_READ_ONLY);
  m_ctxStrings.put(IGNORE_MAPPED_SUPERCLASS_COPY_POLICY,IGNORE_MAPPED_SUPERCLASS_COPY_POLICY);
  m_ctxStrings.put(IGNORE_MAPPED_SUPERCLASS_ASSOCIATION_OVERRIDE,IGNORE_MAPPED_SUPERCLASS_ASSOCIATION_OVERRIDE);
  m_ctxStrings.put(IGNORE_MAPPED_SUPERCLASS_ATTRIBUTE_OVERRIDE,IGNORE_MAPPED_SUPERCLASS_ATTRIBUTE_OVERRIDE);
  m_ctxStrings.put(IGNORE_MAPPED_SUPERCLASS_OPTIMISTIC_LOCKING,IGNORE_MAPPED_SUPERCLASS_OPTIMISTIC_LOCKING);
  m_ctxStrings.put(IGNORE_MAPPED_SUPERCLASS_CACHE,IGNORE_MAPPED_SUPERCLASS_CACHE);
  m_ctxStrings.put(IGNORE_MAPPED_SUPERCLASS_CHANGE_TRACKING,IGNORE_MAPPED_SUPERCLASS_CHANGE_TRACKING);
  m_ctxStrings.put(IGNORE_MAPPED_SUPERCLASS_CUSTOMIZER,IGNORE_MAPPED_SUPERCLASS_CUSTOMIZER);
  m_ctxStrings.put(IGNORE_MAPPED_SUPERCLASS_READ_ONLY,IGNORE_MAPPED_SUPERCLASS_READ_ONLY);
  m_ctxStrings.put(IGNORE_MAPPED_SUPERCLASS_EXISTENCE_CHECKING,IGNORE_MAPPED_SUPERCLASS_EXISTENCE_CHECKING);
  m_ctxStrings.put(ALIAS,ALIAS);
  m_ctxStrings.put(MAP_KEY_ATTRIBUTE_NAME,MAP_KEY_ATTRIBUTE_NAME);
  m_ctxStrings.put(TABLE_NAME,TABLE_NAME);
  m_ctxStrings.put(TABLE_SCHEMA,TABLE_SCHEMA);
  m_ctxStrings.put(TABLE_CATALOG,TABLE_CATALOG);
  m_ctxStrings.put(JOIN_TABLE_NAME,JOIN_TABLE_NAME);
  m_ctxStrings.put(JOIN_TABLE_SCHEMA,JOIN_TABLE_SCHEMA);
  m_ctxStrings.put(JOIN_TABLE_CATALOG,JOIN_TABLE_CATALOG);
  m_ctxStrings.put(SECONDARY_TABLE_NAME,SECONDARY_TABLE_NAME);
  m_ctxStrings.put(SECONDARY_TABLE_SCHEMA,SECONDARY_TABLE_SCHEMA);
  m_ctxStrings.put(SECONDARY_TABLE_CATALOG,SECONDARY_TABLE_CATALOG);
  m_ctxStrings.put(COLLECTION_TABLE_NAME,COLLECTION_TABLE_NAME);
  m_ctxStrings.put(COLLECTION_TABLE_SCHEMA,COLLECTION_TABLE_SCHEMA);
  m_ctxStrings.put(COLLECTION_TABLE_CATALOG,COLLECTION_TABLE_CATALOG);
  m_ctxStrings.put(CONVERTER_DATA_TYPE,CONVERTER_DATA_TYPE);
  m_ctxStrings.put(CONVERTER_OBJECT_TYPE,CONVERTER_OBJECT_TYPE);
  m_ctxStrings.put(COLUMN,COLUMN);
  m_ctxStrings.put(PK_COLUMN,PK_COLUMN);
  m_ctxStrings.put(FK_COLUMN,FK_COLUMN);
  m_ctxStrings.put(QK_COLUMN,QK_COLUMN);
  m_ctxStrings.put(VALUE_COLUMN,VALUE_COLUMN);
  m_ctxStrings.put(MAP_KEY_COLUMN,MAP_KEY_COLUMN);
  m_ctxStrings.put(SOURCE_PK_COLUMN,SOURCE_PK_COLUMN);
  m_ctxStrings.put(SOURCE_FK_COLUMN,SOURCE_FK_COLUMN);
  m_ctxStrings.put(TARGET_PK_COLUMN,TARGET_PK_COLUMN);
  m_ctxStrings.put(TARGET_FK_COLUMN,TARGET_FK_COLUMN);
  m_ctxStrings.put(DISCRIMINATOR_COLUMN,DISCRIMINATOR_COLUMN);
  m_ctxStrings.put(INHERITANCE_PK_COLUMN,INHERITANCE_PK_COLUMN);
  m_ctxStrings.put(INHERITANCE_FK_COLUMN,INHERITANCE_FK_COLUMN);
  m_ctxStrings.put(SECONDARY_TABLE_PK_COLUMN,SECONDARY_TABLE_PK_COLUMN);
  m_ctxStrings.put(SECONDARY_TABLE_FK_COLUMN,SECONDARY_TABLE_FK_COLUMN);
  m_ctxStrings.put(ONE_TO_ONE_MAPPING,ONE_TO_ONE_MAPPING);
  m_ctxStrings.put(ONE_TO_MANY_MAPPING,ONE_TO_MANY_MAPPING);
  m_ctxStrings.put(VARIABLE_ONE_TO_ONE_MAPPING,VARIABLE_ONE_TO_ONE_MAPPING);
  m_ctxStrings.put(ONE_TO_ONE_MAPPING_REFERENCE_CLASS,ONE_TO_ONE_MAPPING_REFERENCE_CLASS);
  m_ctxStrings.put(ONE_TO_MANY_MAPPING_REFERENCE_CLASS,ONE_TO_MANY_MAPPING_REFERENCE_CLASS);
  m_ctxStrings.put(MANY_TO_ONE_MAPPING_REFERENCE_CLASS,MANY_TO_ONE_MAPPING_REFERENCE_CLASS);
  m_ctxStrings.put(MANY_TO_MANY_MAPPING_REFERENCE_CLASS,MANY_TO_MANY_MAPPING_REFERENCE_CLASS);
  m_ctxStrings.put(VARIABLE_ONE_TO_ONE_MAPPING_REFERENCE_CLASS,VARIABLE_ONE_TO_ONE_MAPPING_REFERENCE_CLASS);
}

Fixed version (ground truth):
/** 
 * INTERNAL:
 */
public MetadataLogger(AbstractSession session){
  m_session=session;
  m_ctxStrings=new HashMap();
  m_ctxStrings.put(OVERRIDE_ANNOTATION_WITH_XML,OVERRIDE_ANNOTATION_WITH_XML);
  m_ctxStrings.put(OVERRIDE_NAMED_ANNOTATION_WITH_XML,OVERRIDE_NAMED_ANNOTATION_WITH_XML);
  m_ctxStrings.put(OVERRIDE_XML_WITH_ECLIPSELINK_XML,OVERRIDE_XML_WITH_ECLIPSELINK_XML);
  m_ctxStrings.put(OVERRIDE_NAMED_XML_WITH_ECLIPSELINK_XML,OVERRIDE_NAMED_XML_WITH_ECLIPSELINK_XML);
  m_ctxStrings.put(IGNORE_ANNOTATION,IGNORE_ANNOTATION);
  m_ctxStrings.put(IGNORE_PRIVATE_OWNED_ANNOTATION,IGNORE_PRIVATE_OWNED_ANNOTATION);
  m_ctxStrings.put(IGNORE_RETURN_INSERT_ANNOTATION,IGNORE_RETURN_INSERT_ANNOTATION);
  m_ctxStrings.put(IGNORE_RETURN_UPDATE_ANNOTATION,IGNORE_RETURN_UPDATE_ANNOTATION);
  m_ctxStrings.put(IGNORE_LOB,IGNORE_LOB);
  m_ctxStrings.put(IGNORE_TEMPORAL,IGNORE_TEMPORAL);
  m_ctxStrings.put(IGNORE_ENUMERATED,IGNORE_ENUMERATED);
  m_ctxStrings.put(IGNORE_SERIALIZED,IGNORE_SERIALIZED);
  m_ctxStrings.put(IGNORE_VERSION_LOCKING,IGNORE_VERSION_LOCKING);
  m_ctxStrings.put(IGNORE_INHERITANCE_SUBCLASS_CACHE,IGNORE_INHERITANCE_SUBCLASS_CACHE);
  m_ctxStrings.put(IGNORE_INHERITANCE_SUBCLASS_READ_ONLY,IGNORE_INHERITANCE_SUBCLASS_READ_ONLY);
  m_ctxStrings.put(IGNORE_MAPPED_SUPERCLASS_COPY_POLICY,IGNORE_MAPPED_SUPERCLASS_COPY_POLICY);
  m_ctxStrings.put(IGNORE_MAPPED_SUPERCLASS_ASSOCIATION_OVERRIDE,IGNORE_MAPPED_SUPERCLASS_ASSOCIATION_OVERRIDE);
  m_ctxStrings.put(IGNORE_MAPPED_SUPERCLASS_ATTRIBUTE_OVERRIDE,IGNORE_MAPPED_SUPERCLASS_ATTRIBUTE_OVERRIDE);
  m_ctxStrings.put(IGNORE_MAPPED_SUPERCLASS_OPTIMISTIC_LOCKING,IGNORE_MAPPED_SUPERCLASS_OPTIMISTIC_LOCKING);
  m_ctxStrings.put(IGNORE_MAPPED_SUPERCLASS_CACHE,IGNORE_MAPPED_SUPERCLASS_CACHE);
  m_ctxStrings.put(IGNORE_MAPPED_SUPERCLASS_CHANGE_TRACKING,IGNORE_MAPPED_SUPERCLASS_CHANGE_TRACKING);
  m_ctxStrings.put(IGNORE_MAPPED_SUPERCLASS_CUSTOMIZER,IGNORE_MAPPED_SUPERCLASS_CUSTOMIZER);
  m_ctxStrings.put(IGNORE_MAPPED_SUPERCLASS_READ_ONLY,IGNORE_MAPPED_SUPERCLASS_READ_ONLY);
  m_ctxStrings.put(IGNORE_MAPPED_SUPERCLASS_EXISTENCE_CHECKING,IGNORE_MAPPED_SUPERCLASS_EXISTENCE_CHECKING);
  m_ctxStrings.put(ALIAS,ALIAS);
  m_ctxStrings.put(MAP_KEY_ATTRIBUTE_NAME,MAP_KEY_ATTRIBUTE_NAME);
  m_ctxStrings.put(TABLE_NAME,TABLE_NAME);
  m_ctxStrings.put(TABLE_SCHEMA,TABLE_SCHEMA);
  m_ctxStrings.put(TABLE_CATALOG,TABLE_CATALOG);
  m_ctxStrings.put(JOIN_TABLE_NAME,JOIN_TABLE_NAME);
  m_ctxStrings.put(JOIN_TABLE_SCHEMA,JOIN_TABLE_SCHEMA);
  m_ctxStrings.put(JOIN_TABLE_CATALOG,JOIN_TABLE_CATALOG);
  m_ctxStrings.put(SECONDARY_TABLE_NAME,SECONDARY_TABLE_NAME);
  m_ctxStrings.put(SECONDARY_TABLE_SCHEMA,SECONDARY_TABLE_SCHEMA);
  m_ctxStrings.put(SECONDARY_TABLE_CATALOG,SECONDARY_TABLE_CATALOG);
  m_ctxStrings.put(COLLECTION_TABLE_NAME,COLLECTION_TABLE_NAME);
  m_ctxStrings.put(COLLECTION_TABLE_SCHEMA,COLLECTION_TABLE_SCHEMA);
  m_ctxStrings.put(COLLECTION_TABLE_CATALOG,COLLECTION_TABLE_CATALOG);
  m_ctxStrings.put(CONVERTER_DATA_TYPE,CONVERTER_DATA_TYPE);
  m_ctxStrings.put(CONVERTER_OBJECT_TYPE,CONVERTER_OBJECT_TYPE);
  m_ctxStrings.put(COLUMN,COLUMN);
  m_ctxStrings.put(PK_COLUMN,PK_COLUMN);
  m_ctxStrings.put(FK_COLUMN,FK_COLUMN);
  m_ctxStrings.put(QK_COLUMN,QK_COLUMN);
  m_ctxStrings.put(VALUE_COLUMN,VALUE_COLUMN);
  m_ctxStrings.put(MAP_KEY_COLUMN,MAP_KEY_COLUMN);
  m_ctxStrings.put(SOURCE_PK_COLUMN,SOURCE_PK_COLUMN);
  m_ctxStrings.put(SOURCE_FK_COLUMN,SOURCE_FK_COLUMN);
  m_ctxStrings.put(TARGET_PK_COLUMN,TARGET_PK_COLUMN);
  m_ctxStrings.put(TARGET_FK_COLUMN,TARGET_FK_COLUMN);
  m_ctxStrings.put(DISCRIMINATOR_COLUMN,DISCRIMINATOR_COLUMN);
  m_ctxStrings.put(INHERITANCE_PK_COLUMN,INHERITANCE_PK_COLUMN);
  m_ctxStrings.put(INHERITANCE_FK_COLUMN,INHERITANCE_FK_COLUMN);
  m_ctxStrings.put(SECONDARY_TABLE_PK_COLUMN,SECONDARY_TABLE_PK_COLUMN);
  m_ctxStrings.put(SECONDARY_TABLE_FK_COLUMN,SECONDARY_TABLE_FK_COLUMN);
  m_ctxStrings.put(ONE_TO_ONE_MAPPING,ONE_TO_ONE_MAPPING);
  m_ctxStrings.put(ONE_TO_MANY_MAPPING,ONE_TO_MANY_MAPPING);
  m_ctxStrings.put(VARIABLE_ONE_TO_ONE_MAPPING,VARIABLE_ONE_TO_ONE_MAPPING);
  m_ctxStrings.put(ONE_TO_ONE_MAPPING_REFERENCE_CLASS,ONE_TO_ONE_MAPPING_REFERENCE_CLASS);
  m_ctxStrings.put(ONE_TO_MANY_MAPPING_REFERENCE_CLASS,ONE_TO_MANY_MAPPING_REFERENCE_CLASS);
  m_ctxStrings.put(MANY_TO_ONE_MAPPING_REFERENCE_CLASS,MANY_TO_ONE_MAPPING_REFERENCE_CLASS);
  m_ctxStrings.put(MANY_TO_MANY_MAPPING_REFERENCE_CLASS,MANY_TO_MANY_MAPPING_REFERENCE_CLASS);
  m_ctxStrings.put(VARIABLE_ONE_TO_ONE_MAPPING_REFERENCE_CLASS,VARIABLE_ONE_TO_ONE_MAPPING_REFERENCE_CLASS);
  m_ctxStrings.put(WARNING_INVALID_COLLECTION_USED_ON_LAZY_RELATION,WARNING_INVALID_COLLECTION_USED_ON_LAZY_RELATION);
}