Skip to content

Commit 7982f41

Browse files
committed
ninja-fix Minor fix to CASSJAVA-80 change. Adding new entries to DefaultDriverOption anywhere other than
at the end messes with the ordinal guarantees for exisitng apps. We have a check for such a thing in the build; moving this around avoids that concern.
1 parent 3bb5b18 commit 7982f41

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

core/src/main/java/com/datastax/oss/driver/api/core/config/DefaultDriverOption.java

+7-7
Original file line numberDiff line numberDiff line change
@@ -243,12 +243,6 @@ public enum DefaultDriverOption implements DriverOption {
243243
* <p>Value-type: boolean
244244
*/
245245
SSL_HOSTNAME_VALIDATION("advanced.ssl-engine-factory.hostname-validation"),
246-
/**
247-
* Whether or not to do a DNS reverse-lookup of provided server addresses for SAN addresses.
248-
*
249-
* <p>Value-type: boolean
250-
*/
251-
SSL_ALLOW_DNS_REVERSE_LOOKUP_SAN("advanced.ssl-engine-factory.allow-dns-reverse-lookup-san"),
252246
/**
253247
* The location of the keystore file.
254248
*
@@ -994,7 +988,13 @@ public enum DefaultDriverOption implements DriverOption {
994988
* <p>Value type: {@link java.util.List List}&#60;{@link String}&#62;
995989
*/
996990
LOAD_BALANCING_DC_FAILOVER_PREFERRED_REMOTE_DCS(
997-
"advanced.load-balancing-policy.dc-failover.preferred-remote-dcs");
991+
"advanced.load-balancing-policy.dc-failover.preferred-remote-dcs"),
992+
/**
993+
* Whether or not to do a DNS reverse-lookup of provided server addresses for SAN addresses.
994+
*
995+
* <p>Value-type: boolean
996+
*/
997+
SSL_ALLOW_DNS_REVERSE_LOOKUP_SAN("advanced.ssl-engine-factory.allow-dns-reverse-lookup-san");
998998

999999
private final String path;
10001000

0 commit comments

Comments
 (0)