essobedo commented on code in PR #9802: URL: https://github.com/apache/camel/pull/9802#discussion_r1156926711
########## components/camel-couchbase/src/main/java/org/apache/camel/component/couchbase/CouchbaseConsumer.java: ########## @@ -87,7 +87,7 @@ protected void doInit() { String rangeStartKey = endpoint.getRangeStartKey(); String rangeEndKey = endpoint.getRangeEndKey(); - if ("".equals(rangeStartKey) || "".equals(rangeEndKey)) { + if (rangeStartKey.isEmpty() || rangeEndKey.isEmpty()) { return; } viewOptions.startKey(rangeEndKey).endKey(rangeEndKey); Review Comment: Not related but this sounds suspicious, `rangeStartKey` is not used -- 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: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org