Skip to content

Commit

Permalink
fix #2865 Refactor Ingester to enhance testability by adding getInges…
Browse files Browse the repository at this point in the history
…tFactory method.
  • Loading branch information
marevol committed Dec 29, 2024
1 parent 4726b59 commit 541319b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/main/java/org/codelibs/fess/ingest/Ingester.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,11 @@ public void setPriority(final int priority) {
}

public void register() {
ComponentUtil.getIngestFactory().add(this);
getIngestFactory().add(this);
}

protected IngestFactory getIngestFactory() {
return ComponentUtil.getIngestFactory();
}

// web/file
Expand Down

0 comments on commit 541319b

Please sign in to comment.