Github user ottobackwards commented on a diff in the pull request:

    https://github.com/apache/metron/pull/717#discussion_r135883683
  
    --- Diff: 
metron-interface/metron-rest/src/test/java/org/apache/metron/rest/controller/SensorParserConfigControllerIntegrationTest.java
 ---
    @@ -196,11 +198,17 @@ public void test() throws Exception {
         cleanFileSystem();
         this.sensorParserConfigService.delete("broTest");
         this.sensorParserConfigService.delete("squidTest");
    -
    +    Method[] method = SensorParserConfig.class.getMethods();
    +    int numFields = 0;
    +    for(Method m : method) {
    +      if(m.getName().startsWith("set")) {
    --- End diff --
    
    we should have a reflection utils method for getting these maybe.  Setters 
would also have to be checked for having one parameter and void return I think


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to