Skip to content

Commit

Permalink
#8796 code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
sekmiller committed Jun 5, 2024
1 parent 5d3910d commit 7cb4596
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,7 @@
import jakarta.inject.Named;
import jakarta.json.JsonObject;
import jakarta.persistence.EntityManager;
import jakarta.persistence.NoResultException;
import jakarta.persistence.PersistenceContext;
import jakarta.persistence.Query;

import org.apache.commons.io.IOUtils;
import org.apache.commons.lang3.StringUtils;
Expand Down Expand Up @@ -476,13 +474,11 @@ public void indexDvObject(DvObject objectIn) throws SolrServerException, IOExce

public void indexDataset(Dataset dataset, boolean doNormalSolrDocCleanUp) throws SolrServerException, IOException {
doIndexDataset(dataset, doNormalSolrDocCleanUp);
System.out.print("indexed: " + dataset.getId());
updateLastIndexedTime(dataset.getId());
}

private void doIndexDataset(Dataset dataset, boolean doNormalSolrDocCleanUp) throws SolrServerException, IOException {
logger.fine("indexing dataset " + dataset.getId());
System.out.print("indexing dataset " + dataset.getId());
/**
* @todo should we use solrDocIdentifierDataset or
* IndexableObject.IndexableTypes.DATASET.getName() + "_" ?
Expand Down

0 comments on commit 7cb4596

Please sign in to comment.