--- a/src/java.sql/share/classes/java/sql/ConnectionBuilder.java Thu Jun 20 14:03:10 2019 -0600
+++ b/src/java.sql/share/classes/java/sql/ConnectionBuilder.java Thu Jun 20 16:15:10 2019 -0400
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -44,8 +44,8 @@
* Connection con = ds.createConnectionBuilder()
* .user("rafa")
* .password("tennis")
- * .setShardingKey(shardingKey)
- * .setSuperShardingKey(superShardingKey)
+ * .shardingKey(shardingKey)
+ * .superShardingKey(superShardingKey)
* .build();
* }</pre>
*
--- a/src/java.sql/share/classes/javax/sql/PooledConnectionBuilder.java Thu Jun 20 14:03:10 2019 -0600
+++ b/src/java.sql/share/classes/javax/sql/PooledConnectionBuilder.java Thu Jun 20 16:15:10 2019 -0400
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -47,8 +47,8 @@
* PooledConnection con = ds.createPooledConnectionBuilder()
* .user("rafa")
* .password("tennis")
- * .setShardingKey(shardingKey)
- * .setSuperShardingKey(superShardingKey)
+ * .shardingKey(shardingKey)
+ * .superShardingKey(superShardingKey)
* .build();
* }</pre>
*
--- a/src/java.sql/share/classes/javax/sql/XAConnectionBuilder.java Thu Jun 20 14:03:10 2019 -0600
+++ b/src/java.sql/share/classes/javax/sql/XAConnectionBuilder.java Thu Jun 20 16:15:10 2019 -0400
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -47,8 +47,8 @@
* XAConnection con = ds.createXAConnectionBuilder()
* .user("rafa")
* .password("tennis")
- * .setShardingKey(shardingKey)
- * .setSuperShardingKey(superShardingKey)
+ * .shardingKey(shardingKey)
+ * .superShardingKey(superShardingKey)
* .build();
* }</pre>
*