Skip to content

Commit 45c57ac

Browse files
committed
Fix JavaDoc.
Self closing <p/> tags cause build failures now. Closes #1059
1 parent a75dba3 commit 45c57ac

21 files changed

+81
-56
lines changed

spring-data-relational/src/main/java/org/springframework/data/relational/core/conversion/DbAction.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ public String toString() {
236236
* <p>
237237
* Note that deletes for contained entities that reference the root are to be represented by separate
238238
* {@link DbAction}s.
239-
*
239+
* </p>
240240
* @param <T> type of the entity for which this represents a database interaction.
241241
*/
242242
final class DeleteRoot<T> implements DbAction<T> {
@@ -300,7 +300,7 @@ public String toString() {
300300
* <p>
301301
* Note that deletes for contained entities that reference the root are to be represented by separate
302302
* {@link DbAction}s.
303-
*
303+
* </p>
304304
* @param <T> type of the entity for which this represents a database interaction.
305305
*/
306306
final class DeleteAllRoot<T> implements DbAction<T> {
@@ -322,7 +322,6 @@ public String toString() {
322322

323323
/**
324324
* Represents an acquire lock statement for a aggregate root when only the ID is known.
325-
* <p>
326325
*
327326
* @param <T> type of the entity for which this represents a database interaction.
328327
*/
@@ -392,7 +391,7 @@ interface WithDependingOn<T> extends WithPropertyPath<T>, WithEntity<T> {
392391
* Additional values to be set during insert or update statements.
393392
* <p>
394393
* Values come from parent entities but one might also add values manually.
395-
*
394+
* </p>
396395
* @return guaranteed to be not {@code null}.
397396
*/
398397
Map<PersistentPropertyPath<RelationalPersistentProperty>, Object> getQualifiers();

spring-data-relational/src/main/java/org/springframework/data/relational/core/mapping/Embedded.java

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,11 @@
2727

2828
/**
2929
* The annotation to configure a value object as embedded in the current table.
30-
* <p />
30+
* <p>
3131
* Depending on the {@link OnEmpty value} of {@link #onEmpty()} the property is set to {@literal null} or an empty
3232
* instance in the case all embedded values are {@literal null} when reading from the result set.
33-
*
33+
* </p>
34+
*
3435
* @author Bastian Wilhelm
3536
* @author Christoph Strobl
3637
* @since 1.1
@@ -42,9 +43,10 @@
4243

4344
/**
4445
* Set the load strategy for the embedded object if all contained fields yield {@literal null} values.
45-
* <p />
46+
* <p>
4647
* {@link Nullable @Embedded.Nullable} and {@link Empty @Embedded.Empty} offer shortcuts for this.
47-
*
48+
* </p>
49+
*
4850
* @return never {@link} null.
4951
*/
5052
OnEmpty onEmpty();

spring-data-relational/src/main/java/org/springframework/data/relational/core/mapping/event/BeforeDeleteCallback.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public interface BeforeDeleteCallback<T> extends EntityCallback<T> {
3737
* account for deleting. Only transient fields of the entity should be changed in this callback.
3838
*
3939
* @param aggregate the aggregate.
40-
* @param aggregateChange the associated {@link DefaultAggregateChange}.
40+
* @param aggregateChange the associated {@link MutableAggregateChange}.
4141
* @return the aggregate to be deleted.
4242
*/
4343
T onBeforeDelete(T aggregate, MutableAggregateChange<T> aggregateChange);

spring-data-relational/src/main/java/org/springframework/data/relational/core/sql/AssignValue.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919

2020
/**
2121
* Assign a {@link Expression} to a {@link Column}.
22-
* <p/>
22+
* <p>
2323
* Results in a rendered assignment: {@code <column> = <value>} (e.g. {@code col = 'foo'}.
24-
*
24+
* </p>
2525
* @author Mark Paluch
2626
* @since 1.1
2727
*/

spring-data-relational/src/main/java/org/springframework/data/relational/core/sql/AsteriskFromTable.java

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,15 @@
1717

1818
/**
1919
* {@link Segment} to select all columns from a {@link Table}.
20-
* <p/>
21-
* Renders to: {@code <table>.*} as in {@code SELECT <table>.* FROM …}.
20+
* <p>
21+
* Renders to: {@code
22+
*
23+
<table>
24+
* .*} as in {@code SELECT
25+
*
26+
<table>
27+
* .* FROM …}.
28+
* </p>
2229
*
2330
* @author Mark Paluch
2431
* @since 1.1

spring-data-relational/src/main/java/org/springframework/data/relational/core/sql/Between.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,10 @@
1919

2020
/**
2121
* BETWEEN {@link Condition} comparing between {@link Expression}s.
22-
* <p/>
22+
* <p>
2323
* Results in a rendered condition: {@code <left> BETWEEN <begin> AND <end>}.
24-
*
24+
* </p>
25+
*
2526
* @author Mark Paluch
2627
* @since 2.2
2728
*/

spring-data-relational/src/main/java/org/springframework/data/relational/core/sql/Column.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@
2020

2121
/**
2222
* Column name within a {@code SELECT … FROM} clause.
23-
* <p/>
23+
* <p>
2424
* Renders to: {@code <name>} or {@code <table(alias)>.<name>}.
25-
*
25+
* </p>
26+
*
2627
* @author Mark Paluch
2728
* @author Jens Schauder
2829
* @since 1.1

spring-data-relational/src/main/java/org/springframework/data/relational/core/sql/Comparison.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@
1919

2020
/**
2121
* Comparing {@link Condition} comparing two {@link Expression}s.
22-
* <p/>
22+
* <p>
2323
* Results in a rendered condition: {@code <left> <comparator> <right>} (e.g. {@code col = 'predicate'}.
24+
* </p>
2425
*
2526
* @author Mark Paluch
2627
* @author Jens Schauder

spring-data-relational/src/main/java/org/springframework/data/relational/core/sql/DeleteValidator.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@
1717

1818
/**
1919
* Validator for {@link Delete} statements.
20-
* <p/>
20+
* <p>
2121
* Validates that all {@link Column}s using a table qualifier have a table import from the {@code FROM} clause.
22-
*
22+
* </p>
23+
*
2324
* @author Mark Paluch
2425
* @since 1.1
2526
*/

spring-data-relational/src/main/java/org/springframework/data/relational/core/sql/Join.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,13 @@
1717

1818
/**
1919
* {@link Segment} for a {@code JOIN} declaration.
20-
* <p/>
20+
* <p>
2121
* Renders to: {@code JOIN
2222
*
2323
<table>
2424
* ON <condition>}.
25-
*
25+
* </p>
26+
*
2627
* @author Mark Paluch
2728
* @since 1.1
2829
*/

0 commit comments

Comments
 (0)