You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2022/05/21 13:00:08 UTC

[isis] branch master updated: ISIS-2651: doc fixes is all

This is an automated email from the ASF dual-hosted git repository.

danhaywood pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git


The following commit(s) were added to refs/heads/master by this push:
     new 1462b4860a ISIS-2651: doc fixes is all
1462b4860a is described below

commit 1462b4860a1f02500bb34f31dd38986500001fc5
Author: Dan Haywood <da...@haywood-associates.co.uk>
AuthorDate: Sat May 21 13:59:42 2022 +0100

    ISIS-2651: doc fixes is all
---
 .../modules/ROOT/pages/hints-and-tips/tracing-sql-statements.adoc     | 3 +--
 .../jdo/adoc/modules/ROOT/pages/spis/JdoEntityDiscoveryListener.adoc  | 4 ++--
 testing/unittestsupport/adoc/modules/unittestsupport/pages/about.adoc | 2 +-
 3 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/persistence/jdo/adoc/modules/ROOT/pages/hints-and-tips/tracing-sql-statements.adoc b/persistence/jdo/adoc/modules/ROOT/pages/hints-and-tips/tracing-sql-statements.adoc
index bc6f84ad92..9e7e6ed5bc 100644
--- a/persistence/jdo/adoc/modules/ROOT/pages/hints-and-tips/tracing-sql-statements.adoc
+++ b/persistence/jdo/adoc/modules/ROOT/pages/hints-and-tips/tracing-sql-statements.adoc
@@ -22,8 +22,7 @@ Enabling p6spy is easily done using the https://github.com/gavlyukovskiy/spring-
 ----
 <.> change to `test` if only using within integration tests, for example.
 
-* add properties to enable logging.
-As a minimum, you could add just:
+* add properties to enable logging:
 +
 [source,properties]
 .application.properties
diff --git a/persistence/jdo/adoc/modules/ROOT/pages/spis/JdoEntityDiscoveryListener.adoc b/persistence/jdo/adoc/modules/ROOT/pages/spis/JdoEntityDiscoveryListener.adoc
index 8f25809350..c998f08478 100644
--- a/persistence/jdo/adoc/modules/ROOT/pages/spis/JdoEntityDiscoveryListener.adoc
+++ b/persistence/jdo/adoc/modules/ROOT/pages/spis/JdoEntityDiscoveryListener.adoc
@@ -9,7 +9,7 @@ It can be used to perform additional bootstrapping tasks.
 For example, to eagerly register all named queries, you could use:
 
 [source,java]
-.Customer.java
+.NamedQueryEagerRegistrar.java
 ----
 @Component
 public class NamedQueryEagerRegistrar implements JdoEntityDiscoveryListener {
@@ -40,7 +40,7 @@ public class NamedQueryEagerRegistrar implements JdoEntityDiscoveryListener {
 You could also use an implementation to eagerly create the database tables in the database:
 
 [source,java]
-.Customer.java
+.DatabaseCreator.java
 ----
 @Component
 public class DatabaseCreator implements JdoEntityDiscoveryListener {
diff --git a/testing/unittestsupport/adoc/modules/unittestsupport/pages/about.adoc b/testing/unittestsupport/adoc/modules/unittestsupport/pages/about.adoc
index 78ae04d520..28b8332e95 100644
--- a/testing/unittestsupport/adoc/modules/unittestsupport/pages/about.adoc
+++ b/testing/unittestsupport/adoc/modules/unittestsupport/pages/about.adoc
@@ -110,7 +110,7 @@ public class Customer {
 then all of the getters and setters can be exercised using:
 
 [source,java]
-.Customer.java
+.Customer_Test.java
 ----
 public class Customer_Test {