updates to remove debugging statements, etc.

This commit is contained in:
hudajkhan 2013-08-13 15:26:57 -04:00
parent 6ea7d9ef37
commit 4b52ccd687
5 changed files with 8 additions and 7 deletions

View file

@ -323,7 +323,8 @@ public class AddAssociatedConceptGenerator extends VivoBaseGenerator implements
private void addPreprocessors(EditConfigurationVTwo editConfiguration, WebappDaoFactory wadf) {
//An Edit submission preprocessor for enabling addition of multiple terms for a single search
//TODO: Check if this is the appropriate way of getting model
editConfiguration.addEditSubmissionPreprocessor(
new AddAssociatedConceptsPreprocessor(editConfiguration, wadf));

View file

@ -377,7 +377,9 @@ public class AddAssociatedConceptsPreprocessor extends
//Check if system has an individual with this URI
//
List<Individual> individualsWithLabel = this.wadf.getIndividualDao().getIndividualsByDataProperty(RDFS.label.getURI(), label);
//We are only interested in concepts
//We are only interested in semantic type objects and this may return multiple elements (perhaps too many?
//getting the model requires servlet and context and we don't want to pass that here do we//Return all semantic type objects with this label
//this.modelSelector.
return null;
}