Github user Parth-Brahmbhatt commented on a diff in the pull request:
https://github.com/apache/storm/pull/310#discussion_r20134376
--- Diff: storm-core/src/jvm/backtype/storm/utils/Utils.java ---
@@ -121,6 +126,27 @@ public static void sleep(long millis) {
throw new RuntimeException(e);
}
}
+
+ @SuppressWarnings("unchecked")
+ public static Map<String, Object> loadConfigFile(String file) {
+ Map<String, Object> result = new HashMap<String, Object>();
+ if (file == null) {
+ return result;
--- End diff --
Shouldn't this throw a RunTime exception?
---
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 [email protected] or file a JIRA ticket
with INFRA.
---