File tree 2 files changed +5
-2
lines changed
src/main/java/com/fasterxml/jackson/databind/deser
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -31,10 +31,10 @@ public abstract class DeserializationProblemHandler
31
31
* Content (supposedly) matching the property are accessible via
32
32
* parser that can be obtained from passed deserialization context.
33
33
* Handler can also choose to skip the content; if so, it MUST return
34
- * true to indicate it did handle property succesfully .
34
+ * true to indicate it did handle property successfully .
35
35
* Skipping is usually done like so:
36
36
*<pre>
37
- * ctxt.getParser() .skipChildren();
37
+ * jp .skipChildren();
38
38
*</pre>
39
39
*<p>
40
40
* Note: version 1.2 added new deserialization feature
Original file line number Diff line number Diff line change @@ -213,6 +213,9 @@ public SettableBeanProperty[] getPropertiesInInsertionOrder()
213
213
214
214
public SettableBeanProperty find (String key )
215
215
{
216
+ if (key == null ) {
217
+ throw new IllegalArgumentException ("Can not pass null property name" );
218
+ }
216
219
int index = key .hashCode () & _hashMask ;
217
220
Bucket bucket = _buckets [index ];
218
221
// Let's unroll first lookup since that is null or match in 90+% cases
You can’t perform that action at this time.
0 commit comments