Github user bwmcbride commented on a diff in the pull request:

    https://github.com/apache/jena/pull/123#discussion_r50546204
  
    --- Diff: 
jena-text/src/main/java/org/apache/jena/query/text/TextIndexLucene.java ---
    @@ -399,4 +404,24 @@ private Node entryToNode(String v) {
             // TEMP
             return NodeFactoryExtra.createLiteralNode(v, null, null) ;
         }
    +    
    +    
    +    // set up event handlers
    +    
    +    public enum Event { CLOSED };
    +    
    +    public static interface EventHandler {
    +           void handle(TextIndexLucene index);
    +    }
    +    
    +    private Map<Event, List<EventHandler>> eventHandlers = new 
HashMap<Event, List<EventHandler>>();
    +    
    +    public void addEventHandler(Event event, EventHandler handler) {
    +           List<EventHandler> handlers = eventHandlers.get(event);
    --- End diff --
    
    Yes it is.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to