fix NPE
This commit is contained in:
parent
51d34952d0
commit
c60bc4de96
2 changed files with 2 additions and 2 deletions
|
@ -56,7 +56,7 @@ public abstract class AbstractSearchClient extends AbstractBasicClient implement
|
||||||
@Override
|
@Override
|
||||||
public void close() throws IOException {
|
public void close() throws IOException {
|
||||||
super.close();
|
super.close();
|
||||||
if (!searchMetric.isClosed()) {
|
if (searchMetric != null && !searchMetric.isClosed()) {
|
||||||
searchMetric.close();
|
searchMetric.close();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
group = org.xbib
|
group = org.xbib
|
||||||
name = elx
|
name = elx
|
||||||
version = 7.10.2.11
|
version = 7.10.2.12
|
||||||
|
|
||||||
gradle.wrapper.version = 6.6.1
|
gradle.wrapper.version = 6.6.1
|
||||||
xbib-metrics.version = 2.1.0
|
xbib-metrics.version = 2.1.0
|
||||||
|
|
Loading…
Reference in a new issue