Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-7907 Ant precommit task WARNINGS about unclosed resources
  3. LUCENE-9252

Fix or suppress 6 rawtypes/unchecked precommit warnings in lucene/spatial

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: main (9.0), 8.5
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      There are 6 precommit warnings in org/apache/lucene/spatial:

      [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

        Attachments

        1. LUCENE-9252-01.patch
          3 kB
          Andras Salamon

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              asalamon74 Andras Salamon
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: