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

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 9.0, 8.5
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: