yifan-c commented on code in PR #299:
URL: https://github.com/apache/cassandra-sidecar/pull/299#discussion_r2629044105


##########
client-common/src/main/java/org/apache/cassandra/sidecar/common/utils/StringUtils.java:
##########
@@ -46,4 +48,12 @@ public static boolean isNotEmpty(@Nullable String string)
     {
         return !isNullOrEmpty(string);
     }
+
+    public static boolean contains(@NotNull String string, @NotNull String 
target) {

Review Comment:
   Short answer to "why we should have the StringUtils class" is that we do not 
want to add the `guava` dependency in this package. Analytics depends on 
`client-common` 



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

Reply via email to