epugh commented on code in PR #1496:
URL: https://github.com/apache/solr/pull/1496#discussion_r1151739971


##########
solr/core/src/test/org/apache/solr/cloud/TestRandomFlRTGCloud.java:
##########
@@ -147,6 +148,7 @@ public class TestRandomFlRTGCloud extends SolrCloudTestCase 
{
           new NotIncludedValidator("score", "score_alias:score"));
 
   @BeforeClass
+  @SuppressWarnings({"rawtypes", "unchecked"})

Review Comment:
   Without it, I get these warnings:
   
   ```
   > Task :solr:core:compileTestJava
   
/Users/epugh/Documents/projects/solr-epugh/solr/core/src/test/org/apache/solr/cloud/TestRandomFlRTGCloud.java:180:
 warning: [rawtypes] found raw type: HashMap
         Map<String, SolrClient> solrClientByWriterType = new <String, 
SolrClient>HashMap();
                                                                                
  ^
     missing type arguments for generic class HashMap<K,V>
     where K,V are type-variables:
       K extends Object declared in class HashMap
       V extends Object declared in class HashMap
   
/Users/epugh/Documents/projects/solr-epugh/solr/core/src/test/org/apache/solr/cloud/TestRandomFlRTGCloud.java:180:
 warning: [unchecked] unchecked conversion
         Map<String, SolrClient> solrClientByWriterType = new <String, 
SolrClient>HashMap();
   ```
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to