metron-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Allen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (METRON-412) Limit Profiler to Numeric Types Via Type System
Date Mon, 12 Sep 2016 13:49:20 GMT
Nick Allen created METRON-412:
---------------------------------

             Summary: Limit Profiler to Numeric Types Via Type System
                 Key: METRON-412
                 URL: https://issues.apache.org/jira/browse/METRON-412
             Project: Metron
          Issue Type: Bug
            Reporter: Nick Allen
            Assignee: Nick Allen


The current implementation introduced in METRON-389 allows a ProfileMeasurement's value to
be any Object.  At runtime, this type is checked and an exception is thrown if the type is
not numeric.  It would be possible and much cleaner to use the type system to do this checking
at compile-time.



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

Mime
View raw message