Github user mjsax commented on a diff in the pull request: https://github.com/apache/flink/pull/1046#discussion_r38867724 --- Diff: flink-contrib/flink-storm-compatibility/flink-storm-compatibility-examples/src/main/java/org/apache/flink/stormcompatibility/excamation/stormoperators/ExclamationBolt.java --- @@ -31,10 +31,22 @@ public class ExclamationBolt implements IRichBolt { OutputCollector _collector; + private String exclamation; + @SuppressWarnings("rawtypes") @Override public void prepare(Map conf, TopologyContext context, OutputCollector collector) { _collector = collector; + exclamation = "!!!"; + + if (conf != null && conf.containsKey("exclamationNum")) { --- End diff -- We can safely assume, that `conf != null`. No checking needed.
--- 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. ---