listener.warning( "KnowledgeAgent: impossible to add a map for a null resource! skiping." );
return false;
}
this.listener.debug( "KnowledgeAgent mapping resource="
+ resource + " to KnowledgeDefinition=" + definition );
<BUG>boolean isNewResource = this.registeredResources.isResourceMapped( resource );
</BUG>
boolean isNewDefinition = true;
if ( definition != null ) {
isNewDefinition = this.registeredResources.putDefinition( resource,

listener.warning( "KnowledgeAgent: impossible to add a map for a null resource! skiping." );
return false;
}
this.listener.debug( "KnowledgeAgent mapping resource="
+ resource + " to KnowledgeDefinition=" + definition );
boolean isNewResource = ! this.registeredResources.isResourceMapped( resource );
boolean isNewDefinition = true;
if ( definition != null ) {
isNewDefinition = this.registeredResources.putDefinition( resource,
