fix #2865 Refactor Ingester to enhance testability by adding getIngestFactory method.
This commit is contained in:
parent
4726b59f04
commit
541319b7ca
1 changed files with 5 additions and 1 deletions
|
@ -36,7 +36,11 @@ public abstract class Ingester {
|
|||
}
|
||||
|
||||
public void register() {
|
||||
ComponentUtil.getIngestFactory().add(this);
|
||||
getIngestFactory().add(this);
|
||||
}
|
||||
|
||||
protected IngestFactory getIngestFactory() {
|
||||
return ComponentUtil.getIngestFactory();
|
||||
}
|
||||
|
||||
// web/file
|
||||
|
|
Loading…
Add table
Reference in a new issue