aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com
diff options
context:
space:
mode:
authorTatu Saloranta <tatu.saloranta@iki.fi>2020-03-10 11:42:57 -0700
committerTatu Saloranta <tatu.saloranta@iki.fi>2020-03-10 11:42:57 -0700
commit2a73f089166eca1075b1f9830ee42c6f668c4e95 (patch)
tree81a7fec71bc5f8a57a9f9cabfe4b86abbd03013d /src/main/java/com
parent9a85c6f8ac416029cbbeeb59a418bf1e7c1810c8 (diff)
downloadjackson-databind-2a73f089166eca1075b1f9830ee42c6f668c4e95.tar.gz
Javadoc error fixes
Diffstat (limited to 'src/main/java/com')
-rw-r--r--src/main/java/com/fasterxml/jackson/databind/AnnotationIntrospector.java12
-rw-r--r--src/main/java/com/fasterxml/jackson/databind/DeserializationFeature.java6
-rw-r--r--src/main/java/com/fasterxml/jackson/databind/Module.java2
-rw-r--r--src/main/java/com/fasterxml/jackson/databind/ObjectMapper.java4
-rw-r--r--src/main/java/com/fasterxml/jackson/databind/deser/std/EnumMapDeserializer.java2
-rw-r--r--src/main/java/com/fasterxml/jackson/databind/node/ArrayNode.java2
-rw-r--r--src/main/java/com/fasterxml/jackson/databind/type/TypeFactory.java8
7 files changed, 18 insertions, 18 deletions
diff --git a/src/main/java/com/fasterxml/jackson/databind/AnnotationIntrospector.java b/src/main/java/com/fasterxml/jackson/databind/AnnotationIntrospector.java
index c1e365518..2f2e22402 100644
--- a/src/main/java/com/fasterxml/jackson/databind/AnnotationIntrospector.java
+++ b/src/main/java/com/fasterxml/jackson/databind/AnnotationIntrospector.java
@@ -621,7 +621,7 @@ public abstract class AnnotationIntrospector
* Method for getting a serializer definition on specified method
* or field. Type of definition is either instance (of type
* {@link JsonSerializer}) or Class (of type
- * <code>Class&lt;JsonSerializer></code>); if value of different
+ * {@code Class<JsonSerializer>}; if value of different
* type is returned, a runtime exception may be thrown by caller.
*/
public Object findSerializer(Annotated am) {
@@ -632,7 +632,7 @@ public abstract class AnnotationIntrospector
* Method for getting a serializer definition for keys of associated <code>Map</code> property.
* Type of definition is either instance (of type
* {@link JsonSerializer}) or Class (of type
- * <code>Class&lt;JsonSerializer></code>); if value of different
+ * {@code Class<JsonSerializer>}); if value of different
* type is returned, a runtime exception may be thrown by caller.
*/
public Object findKeySerializer(Annotated am) {
@@ -644,7 +644,7 @@ public abstract class AnnotationIntrospector
* associated <code>Collection</code>, <code>array</code> or <code>Map</code> property.
* Type of definition is either instance (of type
* {@link JsonSerializer}) or Class (of type
- * <code>Class&lt;JsonSerializer></code>); if value of different
+ * {@code Class<JsonSerializer>}); if value of different
* type is returned, a runtime exception may be thrown by caller.
*/
public Object findContentSerializer(Annotated am) {
@@ -1080,7 +1080,7 @@ public abstract class AnnotationIntrospector
* or field.
* Type of definition is either instance (of type
* {@link JsonDeserializer}) or Class (of type
- * <code>Class&lt;JsonDeserializer></code>); if value of different
+ * {@code Class<JsonDeserializer>}): if value of different
* type is returned, a runtime exception may be thrown by caller.
*/
public Object findDeserializer(Annotated am) {
@@ -1092,7 +1092,7 @@ public abstract class AnnotationIntrospector
* associated <code>Map</code> property.
* Type of definition is either instance (of type
* {@link JsonDeserializer}) or Class (of type
- * <code>Class&lt;JsonDeserializer></code>); if value of different
+ * {@code Class<JsonDeserializer>}): if value of different
* type is returned, a runtime exception may be thrown by caller.
*/
public Object findKeyDeserializer(Annotated am) {
@@ -1105,7 +1105,7 @@ public abstract class AnnotationIntrospector
* <code>Map</code> property.
* Type of definition is either instance (of type
* {@link JsonDeserializer}) or Class (of type
- * <code>Class&lt;JsonDeserializer></code>); if value of different
+ * {@code Class<JsonDeserializer>}): if value of different
* type is returned, a runtime exception may be thrown by caller.
*/
public Object findContentDeserializer(Annotated am) {
diff --git a/src/main/java/com/fasterxml/jackson/databind/DeserializationFeature.java b/src/main/java/com/fasterxml/jackson/databind/DeserializationFeature.java
index 15054191c..a29272dfd 100644
--- a/src/main/java/com/fasterxml/jackson/databind/DeserializationFeature.java
+++ b/src/main/java/com/fasterxml/jackson/databind/DeserializationFeature.java
@@ -84,9 +84,9 @@ public enum DeserializationFeature implements ConfigFeature
/**
* Feature that determines whether JSON Array is mapped to
- * <code>Object[]</code> or <code>List&lt;Object></code> when binding
+ * <code>Object[]</code> or {@code List<Object>} when binding
* "untyped" objects (ones with nominal type of <code>java.lang.Object</code>).
- * If true, binds as <code>Object[]</code>; if false, as <code>List&lt;Object></code>.
+ * If true, binds as <code>Object[]</code>; if false, as {@code List<Object>}.
*<p>
* Feature is disabled by default, meaning that JSON arrays are bound as
* {@link java.util.List}s.
@@ -97,7 +97,7 @@ public enum DeserializationFeature implements ConfigFeature
* Feature that determines standard deserialization mechanism used for
* Enum values: if enabled, Enums are assumed to have been serialized using
* return value of <code>Enum.toString()</code>;
- * if disabled, return value of <code>Enum.name()</code> is assumed to have been used.
+ * if disabled, return value of {@code Enum.name()} is assumed to have been used.
*<p>
* Note: this feature should usually have same value
* as {@link SerializationFeature#WRITE_ENUMS_USING_TO_STRING}.
diff --git a/src/main/java/com/fasterxml/jackson/databind/Module.java b/src/main/java/com/fasterxml/jackson/databind/Module.java
index d7d0d016c..590dd3cb9 100644
--- a/src/main/java/com/fasterxml/jackson/databind/Module.java
+++ b/src/main/java/com/fasterxml/jackson/databind/Module.java
@@ -161,7 +161,7 @@ public abstract class Module
*<pre>
* mapper.configOverride(java.util.Date.class)
* .setFormat(JsonFormat.Value.forPattern("yyyy-MM-dd"));
- *<pre>
+ *</pre>
* to change the default format to use for properties of type
* {@link java.util.Date} (possibly further overridden by per-property
* annotations)
diff --git a/src/main/java/com/fasterxml/jackson/databind/ObjectMapper.java b/src/main/java/com/fasterxml/jackson/databind/ObjectMapper.java
index cb64cee2d..f1b52727a 100644
--- a/src/main/java/com/fasterxml/jackson/databind/ObjectMapper.java
+++ b/src/main/java/com/fasterxml/jackson/databind/ObjectMapper.java
@@ -1505,13 +1505,13 @@ public class ObjectMapper
* Accessor for getting a mutable configuration override object for
* given type, needed to add or change per-type overrides applied
* to properties of given type.
- * Usage is through returned object by colling "setter" methods, which
+ * Usage is through returned object by calling "setter" methods, which
* directly modify override object and take effect directly.
* For example you can do
*<pre>
* mapper.configOverride(java.util.Date.class)
* .setFormat(JsonFormat.Value.forPattern("yyyy-MM-dd"));
- *<pre>
+ *</pre>
* to change the default format to use for properties of type
* {@link java.util.Date} (possibly further overridden by per-property
* annotations)
diff --git a/src/main/java/com/fasterxml/jackson/databind/deser/std/EnumMapDeserializer.java b/src/main/java/com/fasterxml/jackson/databind/deser/std/EnumMapDeserializer.java
index d227834fd..2fdd04a66 100644
--- a/src/main/java/com/fasterxml/jackson/databind/deser/std/EnumMapDeserializer.java
+++ b/src/main/java/com/fasterxml/jackson/databind/deser/std/EnumMapDeserializer.java
@@ -12,7 +12,7 @@ import com.fasterxml.jackson.databind.jsontype.TypeDeserializer;
* Deserializer for {@link EnumMap} values.
* <p>
* Note: casting within this class is all messed up -- just could not figure out a way
- * to properly deal with recursive definition of "EnumMap&lt;K extends Enum&lt;K>, V>
+ * to properly deal with recursive definition of {@code EnumMap<K extends Enum<K>, V>}
*/
@SuppressWarnings({ "unchecked", "rawtypes" })
public class EnumMapDeserializer
diff --git a/src/main/java/com/fasterxml/jackson/databind/node/ArrayNode.java b/src/main/java/com/fasterxml/jackson/databind/node/ArrayNode.java
index 345834a5b..ac4aa8aff 100644
--- a/src/main/java/com/fasterxml/jackson/databind/node/ArrayNode.java
+++ b/src/main/java/com/fasterxml/jackson/databind/node/ArrayNode.java
@@ -305,7 +305,7 @@ public class ArrayNode
/**
* Method for inserting specified child node as an element
* of this Array. If index is 0 or less, it will be inserted as
- * the first element; if >= size(), appended at the end, and otherwise
+ * the first element; {@code if >= size()}, appended at the end, and otherwise
* inserted before existing element in specified index.
* No exceptions are thrown for any index.
*
diff --git a/src/main/java/com/fasterxml/jackson/databind/type/TypeFactory.java b/src/main/java/com/fasterxml/jackson/databind/type/TypeFactory.java
index 46910eb45..e005406e7 100644
--- a/src/main/java/com/fasterxml/jackson/databind/type/TypeFactory.java
+++ b/src/main/java/com/fasterxml/jackson/databind/type/TypeFactory.java
@@ -865,7 +865,7 @@ public final class TypeFactory
/**
* Factory method for constructing {@link JavaType} that
* represents a parameterized type. For example, to represent
- * type <code>List&lt;Set&lt;Integer>></code>, you could
+ * type {@code List<Set<Integer>>}, you could
* call
*<pre>
* JavaType inner = TypeFactory.constructParametrizedType(Set.class, Set.class, Integer.class);
@@ -874,7 +874,7 @@ public final class TypeFactory
*<p>
* The reason for first two arguments to be separate is that parameterization may
* apply to a super-type. For example, if generic type was instead to be
- * constructed for <code>ArrayList&lt;Integer></code>, the usual call would be:
+ * constructed for {@code ArrayList<Integer>}, the usual call would be:
*<pre>
* TypeFactory.constructParametrizedType(ArrayList.class, List.class, Integer.class);
*</pre>
@@ -901,7 +901,7 @@ public final class TypeFactory
/**
* Factory method for constructing {@link JavaType} that
* represents a parameterized type. For example, to represent
- * type <code>List&lt;Set&lt;Integer>></code>, you could
+ * type {@code List<Set<Integer>>}, you could
* call
*<pre>
* JavaType inner = TypeFactory.constructParametrizedType(Set.class, Set.class, Integer.class);
@@ -910,7 +910,7 @@ public final class TypeFactory
*<p>
* The reason for first two arguments to be separate is that parameterization may
* apply to a super-type. For example, if generic type was instead to be
- * constructed for <code>ArrayList&lt;Integer></code>, the usual call would be:
+ * constructed for {@code ArrayList<Integer>}, the usual call would be:
*<pre>
* TypeFactory.constructParametrizedType(ArrayList.class, List.class, Integer.class);
*</pre>