Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-2288

clean up compiler warnings

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0
    • Component/s: None
    • Labels:
      None

      Description

      there's a ton of compiler warning in the solr tree, and it's high time we cleaned them up, or annotate them to be suppressed so we can start making a bigger stink when/if code is added to the tree thta produces warnings (we'll never do a good job of noticing new warnings when we have ~175 existing ones)

      Using this issue to track related commits

      The goal of this issue should not be to change any functionality or APIs, just deal with each warning in the most appropriate way;

      • fix generic declarations
      • add SuppressWarning anotation if it's safe in context

        Attachments

        1. warning.cleanup.patch
          34 kB
          Chris M. Hostetter
        2. SOLR-2288_namedlist.patch
          12 kB
          Robert Muir

          Issue Links

            Activity

              People

              • Assignee:
                hossman Chris M. Hostetter
                Reporter:
                hossman Chris M. Hostetter
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: