Skip to content

Commit 9af11ad

Browse files
committed
Fix Javadoc formatting issues
1 parent 7a54ff2 commit 9af11ad

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

spring-core/src/main/java/org/springframework/core/convert/TypeDescriptor.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
/**
3939
* Contextual descriptor about a type to convert from or to.
40-
* Capable of representing arrays and generic collection types.
40+
* <p>Capable of representing arrays and generic collection types.
4141
*
4242
* @author Keith Donald
4343
* @author Andy Clement
@@ -345,9 +345,9 @@ public TypeDescriptor getElementTypeDescriptor() {
345345
* from the provided collection or array element.
346346
* <p>Narrows the {@link #getElementTypeDescriptor() elementType} property to the class
347347
* of the provided collection or array element. For example, if this describes a
348-
* {@code java.util.List&lt;java.lang.Number&lt;} and the element argument is an
348+
* {@code java.util.List<java.lang.Number>} and the element argument is a
349349
* {@code java.lang.Integer}, the returned TypeDescriptor will be {@code java.lang.Integer}.
350-
* If this describes a {@code java.util.List&lt;?&gt;} and the element argument is an
350+
* If this describes a {@code java.util.List<?>} and the element argument is a
351351
* {@code java.lang.Integer}, the returned TypeDescriptor will be {@code java.lang.Integer}
352352
* as well.
353353
* <p>Annotation and nested type context will be preserved in the narrowed
@@ -388,9 +388,9 @@ public TypeDescriptor getMapKeyTypeDescriptor() {
388388
* from the provided map key.
389389
* <p>Narrows the {@link #getMapKeyTypeDescriptor() mapKeyType} property
390390
* to the class of the provided map key. For example, if this describes a
391-
* {@code java.util.Map&lt;java.lang.Number, java.lang.String&lt;} and the key
391+
* {@code java.util.Map<java.lang.Number, java.lang.String>} and the key
392392
* argument is a {@code java.lang.Integer}, the returned TypeDescriptor will be
393-
* {@code java.lang.Integer}. If this describes a {@code java.util.Map&lt;?, ?&gt;}
393+
* {@code java.lang.Integer}. If this describes a {@code java.util.Map<?, ?>}
394394
* and the key argument is a {@code java.lang.Integer}, the returned
395395
* TypeDescriptor will be {@code java.lang.Integer} as well.
396396
* <p>Annotation and nested type context will be preserved in the narrowed
@@ -425,9 +425,9 @@ public TypeDescriptor getMapValueTypeDescriptor() {
425425
* from the provided map value.
426426
* <p>Narrows the {@link #getMapValueTypeDescriptor() mapValueType} property
427427
* to the class of the provided map value. For example, if this describes a
428-
* {@code java.util.Map&lt;java.lang.String, java.lang.Number&lt;} and the value
428+
* {@code java.util.Map<java.lang.String, java.lang.Number>} and the value
429429
* argument is a {@code java.lang.Integer}, the returned TypeDescriptor will be
430-
* {@code java.lang.Integer}. If this describes a {@code java.util.Map&lt;?, ?&gt;}
430+
* {@code java.lang.Integer}. If this describes a {@code java.util.Map<?, ?>}
431431
* and the value argument is a {@code java.lang.Integer}, the returned
432432
* TypeDescriptor will be {@code java.lang.Integer} as well.
433433
* <p>Annotation and nested type context will be preserved in the narrowed

spring-expression/src/main/java/org/springframework/expression/TypeConverter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2017 the original author or authors.
2+
* Copyright 2002-2021 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.
@@ -44,7 +44,7 @@ public interface TypeConverter {
4444
* Convert (or coerce) a value from one type to another, for example from a
4545
* {@code boolean} to a {@code String}.
4646
* <p>The {@link TypeDescriptor} parameters enable support for typed collections:
47-
* A caller may prefer a {@code List&lt;Integer&gt;}, for example, rather than
47+
* A caller may prefer a {@code List<Integer>}, for example, rather than
4848
* simply any {@code List}.
4949
* @param value the value to be converted
5050
* @param sourceType a type descriptor that supplies extra information about the

0 commit comments

Comments
 (0)