[ https://issues.apache.org/jira/browse/LUCENE-9252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17045567#comment-17045567 ]
Michael McCandless commented on LUCENE-9252: -------------------------------------------- Thanks [~asalamon74], patch looks great, I'll push shortly. > Fix or suppress 6 rawtypes/unchecked precommit warnings in lucene/spatial > -------------------------------------------------------------------------- > > Key: LUCENE-9252 > URL: https://issues.apache.org/jira/browse/LUCENE-9252 > Project: Lucene - Core > Issue Type: Sub-task > Reporter: Andras Salamon > Priority: Minor > Attachments: LUCENE-9252-01.patch > > > There are 6 precommit warnings in org/apache/lucene/spatial: > {noformat} > [javac] > /Users/andrassalamon/src/lucene-solr-upstream/lucene/spatial-extras/src/java/org/apache/lucene/spatial/spatial4j/Geo3dBinaryCodec.java:69: > warning: [rawtypes] found raw type: Geo3dShape > [javac] > /Users/andrassalamon/src/lucene-solr-upstream/lucene/spatial-extras/src/java/org/apache/lucene/spatial/spatial4j/Geo3dBinaryCodec.java:122: > warning: [rawtypes] found raw type: ShapeCollection > [javac] > /Users/andrassalamon/src/lucene-solr-upstream/lucene/spatial-extras/src/java/org/apache/lucene/spatial/spatial4j/Geo3dBinaryCodec.java:127: > warning: [rawtypes] found raw type: ShapeCollection > [javac] > /Users/andrassalamon/src/lucene-solr-upstream/lucene/spatial-extras/src/test/org/apache/lucene/spatial/spatial4j/Geo3dShapeSphereModelRectRelationTest.java:73: > warning: [rawtypes] found raw type: Geo3dShape > [javac] > /Users/andrassalamon/src/lucene-solr-upstream/lucene/spatial-extras/src/test/org/apache/lucene/spatial/spatial4j/Geo3dShapeSphereModelRectRelationTest.java:73: > warning: [rawtypes] found raw type: Geo3dShape > [javac] > /Users/andrassalamon/src/lucene-solr-upstream/lucene/spatial-extras/src/test/org/apache/lucene/spatial/spatial4j/Geo3dShapeSphereModelRectRelationTest.java:73: > warning: [unchecked] unchecked call to Geo3dShape(T,SpatialContext) as a > member of the raw type Geo3dShape{noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org