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:
@@ -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">
|
||||
* @Bean
|
||||
* public PlatformTransactionManager txManager() {
|
||||
|
||||
Reference in New Issue
Block a user