From 5d5d506421fd506e3c1c57500d574748b8f9d756 Mon Sep 17 00:00:00 2001 From: Andrea Cavalli Date: Sat, 20 Feb 2021 21:35:09 +0100 Subject: [PATCH] Wrap slf4j implementation --- .../cavallium/dbengine/database/disk/LLLocalDictionary.java | 4 ++-- src/main/java/it/cavallium/dbengine/lucene/LuceneUtils.java | 2 +- .../dbengine/lucene/searcher/LuceneStreamSearcher.java | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/it/cavallium/dbengine/database/disk/LLLocalDictionary.java b/src/main/java/it/cavallium/dbengine/database/disk/LLLocalDictionary.java index 933f456..67267d4 100644 --- a/src/main/java/it/cavallium/dbengine/database/disk/LLLocalDictionary.java +++ b/src/main/java/it/cavallium/dbengine/database/disk/LLLocalDictionary.java @@ -29,8 +29,8 @@ import org.rocksdb.RocksDBException; import org.rocksdb.RocksIterator; import org.rocksdb.Snapshot; import org.rocksdb.WriteOptions; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; +import org.warp.commonutils.log.Logger; +import org.warp.commonutils.log.LoggerFactory; import org.warp.commonutils.concurrency.atomicity.NotAtomic; import org.warp.commonutils.locks.Striped; import reactor.core.publisher.Flux; diff --git a/src/main/java/it/cavallium/dbengine/lucene/LuceneUtils.java b/src/main/java/it/cavallium/dbengine/lucene/LuceneUtils.java index 4e67e81..c365a61 100644 --- a/src/main/java/it/cavallium/dbengine/lucene/LuceneUtils.java +++ b/src/main/java/it/cavallium/dbengine/lucene/LuceneUtils.java @@ -34,7 +34,7 @@ import org.novasearch.lucene.search.similarities.BM25Similarity.BM25Model; import org.novasearch.lucene.search.similarities.LdpSimilarity; import org.novasearch.lucene.search.similarities.LtcSimilarity; import org.novasearch.lucene.search.similarities.RobertsonSimilarity; -import org.slf4j.Logger; +import org.warp.commonutils.log.Logger; import reactor.core.publisher.Flux; public class LuceneUtils { diff --git a/src/main/java/it/cavallium/dbengine/lucene/searcher/LuceneStreamSearcher.java b/src/main/java/it/cavallium/dbengine/lucene/searcher/LuceneStreamSearcher.java index 6ca00bf..29a8148 100644 --- a/src/main/java/it/cavallium/dbengine/lucene/searcher/LuceneStreamSearcher.java +++ b/src/main/java/it/cavallium/dbengine/lucene/searcher/LuceneStreamSearcher.java @@ -9,8 +9,8 @@ import org.apache.lucene.search.Query; import org.apache.lucene.search.ScoreMode; import org.apache.lucene.search.Sort; import org.jetbrains.annotations.Nullable; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; +import org.warp.commonutils.log.Logger; +import org.warp.commonutils.log.LoggerFactory; public interface LuceneStreamSearcher {