mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 10:34:38 +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.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -44,8 +44,8 @@ package java.sql;
|
||||||
* Connection con = ds.createConnectionBuilder()
|
* Connection con = ds.createConnectionBuilder()
|
||||||
* .user("rafa")
|
* .user("rafa")
|
||||||
* .password("tennis")
|
* .password("tennis")
|
||||||
* .setShardingKey(shardingKey)
|
* .shardingKey(shardingKey)
|
||||||
* .setSuperShardingKey(superShardingKey)
|
* .superShardingKey(superShardingKey)
|
||||||
* .build();
|
* .build();
|
||||||
* }</pre>
|
* }</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.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* 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()
|
* PooledConnection con = ds.createPooledConnectionBuilder()
|
||||||
* .user("rafa")
|
* .user("rafa")
|
||||||
* .password("tennis")
|
* .password("tennis")
|
||||||
* .setShardingKey(shardingKey)
|
* .shardingKey(shardingKey)
|
||||||
* .setSuperShardingKey(superShardingKey)
|
* .superShardingKey(superShardingKey)
|
||||||
* .build();
|
* .build();
|
||||||
* }</pre>
|
* }</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.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* 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()
|
* XAConnection con = ds.createXAConnectionBuilder()
|
||||||
* .user("rafa")
|
* .user("rafa")
|
||||||
* .password("tennis")
|
* .password("tennis")
|
||||||
* .setShardingKey(shardingKey)
|
* .shardingKey(shardingKey)
|
||||||
* .setSuperShardingKey(superShardingKey)
|
* .superShardingKey(superShardingKey)
|
||||||
* .build();
|
* .build();
|
||||||
* }</pre>
|
* }</pre>
|
||||||
*
|
*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue