metron-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cestella <...@git.apache.org>
Subject [GitHub] incubator-metron pull request #232: METRON-395 Fix Metron Bro parser not par...
Date Fri, 26 Aug 2016 12:58:47 GMT
Github user cestella commented on a diff in the pull request:

    https://github.com/apache/incubator-metron/pull/232#discussion_r76413970
  
    --- Diff: metron-platform/metron-parsers/src/main/java/org/apache/metron/parsers/bro/BasicBroParser.java
---
    @@ -34,6 +35,7 @@
     
       protected static final Logger _LOG = LoggerFactory
               .getLogger(BasicBroParser.class);
    +  public static final DecimalFormat DECIMAL_FORMAT = new DecimalFormat("0.0#####");
    --- End diff --
    
    DecimalFormat is not threadsafe, can you please make this a `ThreadLocal<DecimalFormat>`?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message