Skip to content

Commit 9de4f1f

Browse files
committed
[javadocs] Fix invalid usage of 'p' tags
1 parent e153031 commit 9de4f1f

File tree

4 files changed

+4
-15
lines changed

4 files changed

+4
-15
lines changed

src/main/java/org/mybatis/spring/annotation/MapperScan.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2010-2024 the original author or authors.
2+
* Copyright 2010-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -40,7 +40,6 @@
4040
* the class that declares this annotation.
4141
* <p>
4242
* Configuration example:
43-
* </p>
4443
*
4544
* <pre class="code">
4645
* &#064;Configuration
@@ -168,7 +167,6 @@
168167
* Whether enable lazy initialization of mapper bean.
169168
* <p>
170169
* Default is {@code false}.
171-
* </p>
172170
*
173171
* @return set {@code true} to enable lazy initialization
174172
*
@@ -180,7 +178,6 @@
180178
* Specifies the default scope of scanned mappers.
181179
* <p>
182180
* Default is {@code ""} (equiv to singleton).
183-
* </p>
184181
*
185182
* @return the default scope
186183
*/

src/main/java/org/mybatis/spring/mapper/ClassPathMapperScanner.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2010-2024 the original author or authors.
2+
* Copyright 2010-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -118,7 +118,6 @@ public void setAnnotationClass(Class<? extends Annotation> annotationClass) {
118118
* Set whether enable lazy initialization for mapper bean.
119119
* <p>
120120
* Default is {@code false}.
121-
* </p>
122121
*
123122
* @param lazyInitialization
124123
* Set the @{code true} to enable
@@ -133,7 +132,6 @@ public void setLazyInitialization(boolean lazyInitialization) {
133132
* Set whether print warning log if not found mappers that matches conditions.
134133
* <p>
135134
* Default is {@code true}. But {@code false} when running in native image.
136-
* </p>
137135
*
138136
* @param printWarnLogIfNotFoundMappers
139137
* Set the @{code true} to print
@@ -192,7 +190,6 @@ public void setMapperFactoryBeanClass(Class<? extends MapperFactoryBean> mapperF
192190
* Set the default scope of scanned mappers.
193191
* <p>
194192
* Default is {@code null} (equiv to singleton).
195-
* </p>
196193
*
197194
* @param defaultScope
198195
* the scope

src/main/java/org/mybatis/spring/mapper/MapperScannerConfigurer.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2010-2024 the original author or authors.
2+
* Copyright 2010-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -164,7 +164,6 @@ public void setAddToConfig(boolean addToConfig) {
164164
* Set whether enable lazy initialization for mapper bean.
165165
* <p>
166166
* Default is {@code false}.
167-
* </p>
168167
*
169168
* @param lazyInitialization
170169
* Set the @{code true} to enable
@@ -235,7 +234,6 @@ public void setRawExcludeFilters(List<Map<String, String>> rawExcludeFilters) {
235234
/**
236235
* Specifies which {@code SqlSessionTemplate} to use in the case that there is more than one in the spring context.
237236
* Usually this is only needed when you have more than one datasource.
238-
* <p>
239237
*
240238
* @deprecated Use {@link #setSqlSessionTemplateBeanName(String)} instead
241239
*
@@ -266,7 +264,6 @@ public void setSqlSessionTemplateBeanName(String sqlSessionTemplateName) {
266264
/**
267265
* Specifies which {@code SqlSessionFactory} to use in the case that there is more than one in the spring context.
268266
* Usually this is only needed when you have more than one datasource.
269-
* <p>
270267
*
271268
* @deprecated Use {@link #setSqlSessionFactoryBeanName(String)} instead.
272269
*
@@ -357,7 +354,6 @@ public void setNameGenerator(BeanNameGenerator nameGenerator) {
357354
* Sets the default scope of scanned mappers.
358355
* <p>
359356
* Default is {@code null} (equiv to singleton).
360-
* </p>
361357
*
362358
* @param defaultScope
363359
* the default scope

src/main/java/org/mybatis/spring/support/SqlSessionDaoSupport.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2010-2024 the original author or authors.
2+
* Copyright 2010-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -27,7 +27,6 @@
2727
* be used to execute SQL methods.
2828
* <p>
2929
* This class needs a SqlSessionTemplate or a SqlSessionFactory. If both are set the SqlSessionFactory will be ignored.
30-
* <p>
3130
*
3231
* @author Putthiphong Boonphong
3332
* @author Eduardo Macarron

0 commit comments

Comments
 (0)