Fix Javadoc formatting issues for headings

Headings in method-level Javadoc must be h4 or higher in recent versions
of Java.
This commit is contained in:
Sam Brannen
2022-11-16 14:09:42 +01:00
parent 428539f30d
commit 508d2c7a77
4 changed files with 14 additions and 14 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2020 the original author or authors.
* Copyright 2002-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -51,7 +51,7 @@ public interface TransactionManagementConfigurer {
* Return the default transaction manager bean to use for annotation-driven database
* transaction management, i.e. when processing {@code @Transactional} methods.
* <p>There are two basic approaches to implementing this method:
* <h3>1. Implement the method and annotate it with {@code @Bean}</h3>
* <h4>1. Implement the method and annotate it with {@code @Bean}</h4>
* In this case, the implementing {@code @Configuration} class implements this method,
* marks it with {@code @Bean}, and configures and returns the transaction manager
* directly within the method body:
@@ -61,8 +61,8 @@ public interface TransactionManagementConfigurer {
* public PlatformTransactionManager annotationDrivenTransactionManager() {
* return new DataSourceTransactionManager(dataSource());
* }</pre>
* <h3>2. Implement the method without {@code @Bean} and delegate to another existing
* {@code @Bean} method</h3>
* <h4>2. Implement the method without {@code @Bean} and delegate to another existing
* {@code @Bean} method</h4>
* <pre class="code">
* &#064;Bean
* public PlatformTransactionManager txManager() {