mirror of
https://github.com/Alfresco/SearchServices.git
synced 2026-09-16 18:12:56 +00:00
Fix null pointer comparison
This commit is contained in:
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user