Skip to content

Commit

Permalink
add missing overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
baltzell committed Oct 18, 2024
1 parent 9c58328 commit 2216fb9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ public boolean init() {
return true;
}

@Override
public void detectorChanged(int run){}

public boolean init(String... filenames) {
bgfilenames.clear();
String detectors = getEngineConfigString(CONF_DETECTORS,"DC,FTOF");
Expand Down Expand Up @@ -80,7 +83,7 @@ synchronized public DataEvent getBackgroundEvent() {
}

@Override
public boolean processDataEvent(DataEvent event) {
public boolean processDataEventUser(DataEvent event) {
if (!bgfilenames.isEmpty()) {
DataEvent a = getBackgroundEvent();
DataEvent b = getBackgroundEvent();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,10 @@ else if (getEngineConfigString(CONF_PRELOAD_DIR) != null) {
}

@Override
public boolean processDataEvent(DataEvent event) {
public void detectorChanged(int run) {}

@Override
public boolean processDataEventUser(DataEvent event) {
processor.processEvent(event);
return true;
}
Expand Down

0 comments on commit 2216fb9

Please sign in to comment.