Justin Leet created METRON-617:
----------------------------------

             Summary: Eliminate Javac warnings in the build
                 Key: METRON-617
                 URL: https://issues.apache.org/jira/browse/METRON-617
             Project: Metron
          Issue Type: Improvement
    Affects Versions: 0.3.0
            Reporter: Justin Leet
            Assignee: Justin Leet
            Priority: Minor


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to