mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 02:24:40 +02:00
8226518: Typo in the ConnectionBuilder javadoc examples
Reviewed-by: bpb
This commit is contained in:
parent
61a4303c42
commit
b1c6ff7193
3 changed files with 9 additions and 9 deletions
|
@ -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 @@ package java.sql;
|
|||
* Connection con = ds.createConnectionBuilder()
|
||||
* .user("rafa")
|
||||
* .password("tennis")
|
||||
* .setShardingKey(shardingKey)
|
||||
* .setSuperShardingKey(superShardingKey)
|
||||
* .shardingKey(shardingKey)
|
||||
* .superShardingKey(superShardingKey)
|
||||
* .build();
|
||||
* }</pre>
|
||||
*
|
||||
|
|
|
@ -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 @@ import java.sql.ShardingKey;
|
|||
* PooledConnection con = ds.createPooledConnectionBuilder()
|
||||
* .user("rafa")
|
||||
* .password("tennis")
|
||||
* .setShardingKey(shardingKey)
|
||||
* .setSuperShardingKey(superShardingKey)
|
||||
* .shardingKey(shardingKey)
|
||||
* .superShardingKey(superShardingKey)
|
||||
* .build();
|
||||
* }</pre>
|
||||
*
|
||||
|
|
|
@ -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 @@ import java.sql.ShardingKey;
|
|||
* XAConnection con = ds.createXAConnectionBuilder()
|
||||
* .user("rafa")
|
||||
* .password("tennis")
|
||||
* .setShardingKey(shardingKey)
|
||||
* .setSuperShardingKey(superShardingKey)
|
||||
* .shardingKey(shardingKey)
|
||||
* .superShardingKey(superShardingKey)
|
||||
* .build();
|
||||
* }</pre>
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue