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

    https://github.com/apache/storm/pull/1801#discussion_r89727286
  
    --- Diff: 
external/storm-cassandra/src/main/java/org/apache/storm/cassandra/bolt/BaseCassandraBolt.java
 ---
    @@ -105,17 +109,43 @@ public BaseCassandraBolt 
withResultHandler(ExecutionResultHandler resultHandler)
             return this;
         }
     
    +    /**
    +     * Configures this bolt with the given {@code fields} as outputfields 
with stream id as {@link Utils#DEFAULT_STREAM_ID}
    +     *
    +     * @param fields outputfields
    +     */
         public BaseCassandraBolt withOutputFields(Fields fields) {
    +        Preconditions.checkNotNull("fields should not be null.");
    --- End diff --
    
    Missing args, to -> `Preconditions.checkNotNull(fields, "fields should not 
be null.");`


---
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