diff --git a/src/asciidoc/core-aop.adoc b/src/asciidoc/core-aop.adoc index 5fc62fb460b..7b435d20596 100644 --- a/src/asciidoc/core-aop.adoc +++ b/src/asciidoc/core-aop.adoc @@ -1991,7 +1991,7 @@ proceed with the method call: the presence of this parameter is an indication th public class SimpleProfiler { public Object profile(ProceedingJoinPoint call, String name, int age) throws Throwable { - StopWatch clock = new StopWatch("Profiling for ''" + name + "'' and ''" + age + "''"); + StopWatch clock = new StopWatch("Profiling for '" + name + "' and '" + age + "'"); try { clock.start(call.toShortString()); return call.proceed(); diff --git a/src/asciidoc/core-beans.adoc b/src/asciidoc/core-beans.adoc index 08d8e13506d..ba6fe773ec6 100644 --- a/src/asciidoc/core-beans.adoc +++ b/src/asciidoc/core-beans.adoc @@ -3707,7 +3707,7 @@ Find below the custom `BeanPostProcessor` implementation class definition: public Object postProcessAfterInitialization(Object bean, String beanName) throws BeansException { - System.out.println("Bean ''" + beanName + "'' created : " + bean.toString()); + System.out.println("Bean '" + beanName + "' created : " + bean.toString()); return bean; } @@ -7499,7 +7499,7 @@ hierarchy of property sources. To explain fully, consider the following: ApplicationContext ctx = new GenericApplicationContext(); Environment env = ctx.getEnvironment(); boolean containsFoo = env.containsProperty("foo"); -System.out.println("Does my environment contain the ''foo'' property? " + containsFoo); +System.out.println("Does my environment contain the 'foo' property? " + containsFoo); ---- In the snippet above, we see a high-level way of asking Spring whether the `foo` property is diff --git a/src/asciidoc/data-access.adoc b/src/asciidoc/data-access.adoc index aeccb844bdc..3e0ad7d58fe 100644 --- a/src/asciidoc/data-access.adoc +++ b/src/asciidoc/data-access.adoc @@ -1778,7 +1778,7 @@ a transaction. You then pass an instance of your custom `TransactionCallback` to // use constructor-injection to supply the PlatformTransactionManager public SimpleService(PlatformTransactionManager transactionManager) { - Assert.notNull(transactionManager, "The ''transactionManager'' argument must not be null."); + Assert.notNull(transactionManager, "The 'transactionManager' argument must not be null."); this.transactionTemplate = new TransactionTemplate(transactionManager); } @@ -1845,7 +1845,7 @@ a specific `TransactionTemplate:` private final TransactionTemplate transactionTemplate; public SimpleService(PlatformTransactionManager transactionManager) { - Assert.notNull(transactionManager, "The ''transactionManager'' argument must not be null."); + Assert.notNull(transactionManager, "The 'transactionManager' argument must not be null."); this.transactionTemplate = new TransactionTemplate(transactionManager); // the transaction settings can be set here explicitly if so desired diff --git a/src/asciidoc/integration.adoc b/src/asciidoc/integration.adoc index 8f4891c4d19..33f410eedff 100644 --- a/src/asciidoc/integration.adoc +++ b/src/asciidoc/integration.adoc @@ -6007,7 +6007,7 @@ along with an inline image. helper.setTo("test@host.com"); // use the true flag to indicate the text included is HTML - helper.setText("