You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metron.apache.org by "Nick Allen (JIRA)" <ji...@apache.org> on 2016/09/12 13:49:20 UTC

[jira] [Created] (METRON-412) Limit Profiler to Numeric Types Via Type System

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)