Fix null pointer comparison

This commit is contained in:
Angel Borroy
2020-01-20 10:18:19 +01:00
parent ee21af7b27
commit 641bb26dcc
@@ -2501,7 +2501,7 @@ public class SolrInformationServer implements InformationServer
response);
InputStream ris = response.getContent();
if (response.getContentEncoding().equals("gzip"))
if (Objects.equals(response.getContentEncoding(), "gzip"))
{
ris = new GZIPInputStream(ris);
}