the external references need to be extracted in here...

This commit is contained in:
Eric J. Bowersox 2004-12-30 09:00:30 +00:00
parent 4c5c7ffe85
commit d0d8611d15

View File

@ -813,13 +813,34 @@ class TopicUserContextImpl implements TopicContext
String real_pseud, real_text;
int text_linecount;
Set internal_refs, external_refs;
try
{ // retrieve the processed values
real_pseud = pseud_ch.getValue();
real_text = text_ch.getValue();
text_linecount = text_ch.getLines();
internal_refs = text_ch.getInternalReferences();
external_refs = text_ch.getExternalReferences();
if (logger.isDebugEnabled())
{ // do some debugging output
logger.debug("new post has " + text_linecount + " lines");
if (internal_refs.size()>0)
{ // display internal references
logger.debug("Internal references here:");
for (Iterator it=internal_refs.iterator(); it.hasNext(); )
logger.debug(" " + it.next());
} // end if
if (external_refs.size()>0)
{ // display external references
logger.debug("External references here:");
for (Iterator it=external_refs.iterator(); it.hasNext(); )
logger.debug(" " + it.next());
} // end if
} // end if
} // end try
catch (NotYetFinishedException e)