Skip to content

Commit 03f2605

Browse files
committed
Minor javadoc fixes
1 parent 973f765 commit 03f2605

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

src/main/java/com/fasterxml/jackson/databind/deser/impl/NullsAsEmptyProvider.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@
22

33
import com.fasterxml.jackson.databind.*;
44
import com.fasterxml.jackson.databind.deser.NullValueProvider;
5-
import com.fasterxml.jackson.databind.exc.InvalidNullException;
65
import com.fasterxml.jackson.databind.util.AccessPattern;
76

87
/**
9-
* Simple {@link NullValueProvider} that will always throw a
10-
* {@link InvalidNullException} when a null is encountered.
8+
* Simple {@link NullValueProvider} that will return "empty value"
9+
* specified by {@link JsonDeserializer} provider is constructed with.
1110
*/
1211
public class NullsAsEmptyProvider
1312
implements NullValueProvider, java.io.Serializable

src/main/java/com/fasterxml/jackson/databind/deser/impl/NullsConstantProvider.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,14 @@
22

33
import com.fasterxml.jackson.databind.*;
44
import com.fasterxml.jackson.databind.deser.NullValueProvider;
5-
import com.fasterxml.jackson.databind.exc.InvalidNullException;
65
import com.fasterxml.jackson.databind.util.AccessPattern;
76

87
/**
9-
* Simple {@link NullValueProvider} that will always throw a
10-
* {@link InvalidNullException} when a null is encountered.
8+
* Simple {@link NullValueProvider} that will simply return given
9+
* constant value when a null is encountered; or, with a specially
10+
* constructed instance (see {@link #skipper}, indicate the need
11+
* for special behavior of skipping property altogether (not setting
12+
* as anything OR throwing exception).
1113
*/
1214
public class NullsConstantProvider
1315
implements NullValueProvider, java.io.Serializable

0 commit comments

Comments
 (0)