frankgh commented on code in PR #31:
URL:
https://github.com/apache/cassandra-analytics/pull/31#discussion_r1467052902
##########
cassandra-bridge/src/main/java/org/apache/cassandra/spark/utils/MapUtils.java:
##########
@@ -225,4 +225,15 @@ public static String getOrDefault(Map<String, String>
options, String key, Strin
{
return options.getOrDefault(lowerCaseKey(key), defaultValue);
}
+
+ /**
+ * Method to check if key is present in {@code options} map.
+ * @param options the map
+ * @param key the key to the map
+ * @return boolean
+ */
+ public static boolean contains(Map<String, String> options, String key)
Review Comment:
should this method be called `containsKey` instead?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]