Skip to content

Commit 1bdd85d

Browse files
committed
Tidy javadoc only
1 parent d44fee2 commit 1bdd85d

File tree

3 files changed

+1
-12
lines changed

3 files changed

+1
-12
lines changed

src/main/java/io/ebean/datasource/DataSourceFactory.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,13 @@
55
*
66
* <pre>{@code
77
*
8-
* DataSourceFactory factory = DataSourceFactory.get();
9-
*
108
* DataSourceConfig config = new DataSourceConfig();
119
* config.setDriver("org.h2.Driver");
1210
* config.setUrl("jdbc:h2:mem:tests2");
1311
* config.setUsername("sa");
1412
* config.setPassword("");
1513
*
16-
* DataSourcePool pool = factory.createPool("test", config);
14+
* DataSourcePool pool = DataSourceFactory.create("test", config);
1715
*
1816
* Connection connection = pool.getConnection();
1917
*

src/main/java/io/ebean/datasource/DataSourcePool.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,8 @@ public interface DataSourcePool extends DataSource {
5454
* <p>
5555
* This is cheaper than getStatistics() in that it just the counts of free, busy,
5656
* wait etc and does not included times (total connection time etc).
57-
* </p>
5857
* <p>
5958
* If you pass reset = true then the counters are reset.
60-
* </p>
6159
*/
6260
PoolStatus getStatus(boolean reset);
6361

src/main/java/io/ebean/datasource/DataSourcePoolListener.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,8 @@
99
* <p>
1010
* In the configuration use the poolListener key to configure which listener to
1111
* use.
12-
* </p>
1312
* <p>
1413
* Example: datasource.ora10.poolListener=my.very.fancy.PoolListener
15-
* </p>
16-
* <p>
17-
* <p>
18-
* Notice: This listener only works if you are using the default Avaje
19-
* {@link DataSourcePool}.
20-
* </p>
2114
*/
2215
public interface DataSourcePoolListener {
2316

0 commit comments

Comments
 (0)