Skip to content

Commit 1ee37a8

Browse files
ljnelsonbarchetta
authored andcommitted
4.x: Ensures there is no trailing whitespace in Java properties lines in persistence.adoc with Asciidoctor callouts at the expense of visual cleanliness (helidon-io#9352)
* Ensures there is no trailing whitespace in Java properties lines with Asciidoctor callouts at the expense of visual cleanliness Signed-off-by: Laird Nelson <[email protected]> * Squashable commit; fixes javax.sql.DataSource.main.URL property in UCP example in persistence.adoc Signed-off-by: Laird Nelson <[email protected]> * Squashable commit; removes more whitespace in Asciidoctor callout scenarios Signed-off-by: Laird Nelson <[email protected]> --------- Signed-off-by: Laird Nelson <[email protected]>
1 parent c9e54f3 commit 1ee37a8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/src/main/asciidoc/mp/persistence.adoc

+5-5
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ the `test` data source's associated connection pool or vendor-specific
327327
328328
[source,properties]
329329
----
330-
javax.sql.DataSource.test.foo.bar=baz # <1> <2> <3>
330+
javax.sql.DataSource.test.foo.bar=baz# <1><2><3>
331331
----
332332
<1> The *_objecttype_* portion of the configuration property name is
333333
`javax.sql.DataSource`.
@@ -434,8 +434,8 @@ a service name of `XE`, a `user` of `scott`, and a `password` of
434434
435435
[source,properties]
436436
----
437-
javax.sql.DataSource.main.connectionFactoryClassName = oracle.jdbc.pool.OracleDataSource # <1>
438-
javax.sql.DataSource.main.url = jdbc:oracle:thin://@localhost:1521/XE # <2>
437+
javax.sql.DataSource.main.connectionFactoryClassName = oracle.jdbc.pool.OracleDataSource# <1>
438+
javax.sql.DataSource.main.URL = jdbc:oracle:thin:@//localhost:1521/XE# <2>
439439
javax.sql.DataSource.main.user = scott
440440
javax.sql.DataSource.main.password = tiger
441441
----
@@ -488,8 +488,8 @@ password:
488488
489489
[source,properties]
490490
----
491-
javax.sql.DataSource.test.dataSourceClassName = org.h2.jdbcx.JdbcDataSource # <1>
492-
javax.sql.DataSource.test.dataSource.url = jdbc:h2:mem:unit-testing;DB_CLOSE_DELAY=-1 # <2> <3>
491+
javax.sql.DataSource.test.dataSourceClassName = org.h2.jdbcx.JdbcDataSource# <1>
492+
javax.sql.DataSource.test.dataSource.url = jdbc:h2:mem:unit-testing;DB_CLOSE_DELAY=-1# <2><3>
493493
javax.sql.DataSource.test.dataSource.user = sa
494494
javax.sql.DataSource.test.dataSource.password =
495495
----

0 commit comments

Comments
 (0)