Fix class names

This commit is contained in:
Andrea Cavalli 2021-08-24 11:55:33 +02:00
parent a0eb80b130
commit 2207ae4314
4 changed files with 8 additions and 8 deletions

View File

@ -23,7 +23,7 @@ public final class SearchResult<T, U> {
this.totalHitsCount = totalHitsCount;
this.release = Mono.fromRunnable(() -> {
if (releaseCalled) {
logger.warn("LuceneSearchResult::release has been called twice!");
logger.warn(this.getClass().getName() + "::release has been called twice!");
}
releaseCalled = true;
}).then(release);
@ -75,7 +75,7 @@ public final class SearchResult<T, U> {
@Override
protected void finalize() throws Throwable {
if (!releaseCalled) {
logger.warn("LuceneSearchResult::release has not been called before class finalization!");
logger.warn(this.getClass().getName() + "::release has not been called before class finalization!");
}
super.finalize();
}

View File

@ -26,7 +26,7 @@ public final class SearchResultKeys<T> {
this.totalHitsCount = totalHitsCount;
this.release = Mono.fromRunnable(() -> {
if (releaseCalled) {
logger.warn("LuceneSearchResult::release has been called twice!");
logger.warn(this.getClass().getName() + "::release has been called twice!");
}
releaseCalled = true;
}).then(release);
@ -85,7 +85,7 @@ public final class SearchResultKeys<T> {
@Override
protected void finalize() throws Throwable {
if (!releaseCalled) {
logger.warn("LuceneSearchResult::release has not been called before class finalization!");
logger.warn(this.getClass().getName() + "::release has not been called before class finalization!");
}
super.finalize();
}

View File

@ -23,7 +23,7 @@ public final class LLSearchResultShard {
this.totalHitsCount = totalHitsCount;
this.release = Mono.fromRunnable(() -> {
if (releaseCalled) {
logger.warn("LuceneSearchResult::release has been called twice!");
logger.warn(this.getClass().getName() + "::release has been called twice!");
}
releaseCalled = true;
}).then(release);
@ -67,7 +67,7 @@ public final class LLSearchResultShard {
@Override
protected void finalize() throws Throwable {
if (!releaseCalled) {
logger.warn("LuceneSearchResult::release has not been called before class finalization!");
logger.warn(this.getClass().getName() + "::release has not been called before class finalization!");
}
super.finalize();
}

View File

@ -25,7 +25,7 @@ public final class LuceneSearchResult {
this.results = results;
this.release = Mono.fromRunnable(() -> {
if (releaseCalled) {
logger.warn("LuceneSearchResult::release has been called twice!");
logger.warn(this.getClass().getName() + "::release has been called twice!");
}
releaseCalled = true;
}).then(release);
@ -67,7 +67,7 @@ public final class LuceneSearchResult {
@Override
protected void finalize() throws Throwable {
if (!releaseCalled) {
logger.warn("LuceneSearchResult::release has not been called before class finalization!");
logger.warn(this.getClass().getName() + "::release has not been called before class finalization!");
}
super.finalize();
}