mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-16 17:57:43 +00:00
Merge pull request #2434 from millmanorama/fix-compiler-warnings
fix compiler warnings about raw types
This commit is contained in:
commit
b0ce3168df
@ -46,13 +46,13 @@ import javax.swing.AbstractAction;
|
||||
import org.apache.solr.client.solrj.SolrQuery;
|
||||
import org.apache.solr.client.solrj.SolrRequest;
|
||||
import org.apache.solr.client.solrj.SolrServerException;
|
||||
import org.apache.solr.client.solrj.request.CoreAdminRequest;
|
||||
import org.apache.solr.client.solrj.response.QueryResponse;
|
||||
import org.apache.solr.client.solrj.response.TermsResponse;
|
||||
import org.apache.solr.client.solrj.impl.HttpSolrClient;
|
||||
import org.apache.solr.client.solrj.impl.HttpSolrClient.Builder;
|
||||
import org.apache.solr.client.solrj.impl.XMLResponseParser;
|
||||
import org.apache.solr.client.solrj.request.CoreAdminRequest;
|
||||
import org.apache.solr.client.solrj.response.CoreAdminResponse;
|
||||
import org.apache.solr.client.solrj.response.QueryResponse;
|
||||
import org.apache.solr.client.solrj.response.TermsResponse;
|
||||
import org.apache.solr.common.SolrDocument;
|
||||
import org.apache.solr.common.SolrDocumentList;
|
||||
import org.apache.solr.common.SolrException;
|
||||
@ -775,7 +775,7 @@ public class Server {
|
||||
}
|
||||
}
|
||||
|
||||
NamedList<Object> request(SolrRequest request) throws SolrServerException, NoOpenCoreException {
|
||||
NamedList<Object> request(SolrRequest<?> request) throws SolrServerException, NoOpenCoreException {
|
||||
currentCoreLock.readLock().lock();
|
||||
try {
|
||||
if (null == currentCore) {
|
||||
@ -1256,7 +1256,7 @@ public class Server {
|
||||
return solrCore.query(sq);
|
||||
}
|
||||
|
||||
private NamedList<Object> request(SolrRequest request) throws SolrServerException {
|
||||
private NamedList<Object> request(SolrRequest<?> request) throws SolrServerException {
|
||||
try {
|
||||
return solrCore.request(request);
|
||||
} catch (IOException e) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user