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

clean up compiler warnings

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: