Commit 9c4959e9 authored by Michael Ritter's avatar Michael Ritter
Browse files

Add some notes

parent de27cb5b
......@@ -62,7 +62,7 @@ import java.util.concurrent.RecursiveAction;
public class IngestThread extends RecursiveAction {
private static final Logger LOG = Logger.getLogger(IngestThread.class);
// These only gets read from, never written to
// These only get read from, never written to
private Map<String, Token> tokens;
private Collection coll;
private List<String> identifiers;
......@@ -173,7 +173,8 @@ public class IngestThread extends RecursiveAction {
token.setParentCollection(coll);
// Token
// Token
// TODO: may be be able to do em.persist(item) and let the token get persisted along w/ it
em.persist(event[1]);
em.persist(token);
item.setToken(token);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment