Skip to content
Snippets Groups Projects
Commit 38b82dde authored by Vojtěch Moravec's avatar Vojtěch Moravec
Browse files

Set default status listener to default log function.

parent 0bd555cd
No related branches found
No related tags found
No related merge requests found
......@@ -24,6 +24,7 @@ public abstract class CompressorDecompressorBase {
this.options = options;
this.codebookSize = (int) Math.pow(2, this.options.getBitsPerCodebookIndex());
// Default status listener, which can be override by setStatusListener.
statusListener = this::defaultLog;
}
public void setStatusListener(IStatusListener listener) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment