Uploaded image for project: 'Metron (Retired)'
  1. Metron (Retired)
  2. METRON-617

Eliminate Javac warnings in the build

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: To Do
    • Minor
    • Resolution: Unresolved
    • 0.3.0
    • None
    • None

    Description

      We have a lot of Javac warnings (several hundred) in the build right now. The primary cause of these is unchecked types (for reasons including org.simple.json uses raw types under the hood). These should be labelled with @SuppressWarnings("unchecked") where appropriate. In addition, things like @SafeVarargs should be added where appropriate, etc.

      Given the number of changes in this ticket is significantly larger than even the Error Prone warnings (and may require tinkering with generics at appropriate points), I'm going to split this up by module (Analytics and Platform), and then split platform as necessary (parsers and enrichment in particular have a lot). Otherwise, anything resulting is likely to be too large and unmanageable to be properly tested and reviewed.

      Attachments

        Activity

          People

            Unassigned Unassigned
            justinleet Justin Leet
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: