absurdfarce commented on PR #2013: URL: https://github.com/apache/cassandra-java-driver/pull/2013#issuecomment-2964051660
Oh, I see... fortunately this one's an easy fix: ```diff diff --git a/core/src/main/java/com/datastax/oss/driver/internal/core/addresstranslation/Subnet.java b/core/src/main/java/com/datastax/oss/driver/internal/core/addresstranslation/Subnet.java index ec83626c5..7c25e94e2 100644 --- a/core/src/main/java/com/datastax/oss/driver/internal/core/addresstranslation/Subnet.java +++ b/core/src/main/java/com/datastax/oss/driver/internal/core/addresstranslation/Subnet.java @@ -45,7 +45,7 @@ class Subnet { } static Subnet parse(String subnetCIDR) throws UnknownHostException { - List<String> parts = Splitter.on("/").splitToList("/"); + List<String> parts = Splitter.on("/").splitToList(subnetCIDR); if (parts.size() != 2) { throw new IllegalArgumentException("Invalid subnet: " + subnetCIDR); } ``` -- 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: pr-unsubscr...@cassandra.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: pr-unsubscr...@cassandra.apache.org For additional commands, e-mail: pr-h...@cassandra.apache.org