diff --git a/properties/src/main/java/com/fasterxml/jackson/dataformat/javaprop/io/JPropReadContext.java b/properties/src/main/java/com/fasterxml/jackson/dataformat/javaprop/io/JPropReadContext.java index f1131d01..5aa0cf9e 100644 --- a/properties/src/main/java/com/fasterxml/jackson/dataformat/javaprop/io/JPropReadContext.java +++ b/properties/src/main/java/com/fasterxml/jackson/dataformat/javaprop/io/JPropReadContext.java @@ -47,12 +47,10 @@ public abstract class JPropReadContext public JPropReadContext(int contextType, JPropReadContext p, JPropNode node) { - super(); - _type = contextType; - _index = -1; + super(contextType, -1); _parent = p; _branchText = node.getValue(); - _nestingDepth = p == null ? 0 : p._nestingDepth + 1; + _nestingDepth = (p == null) ? 0 : p._nestingDepth + 1; } public static JPropReadContext create(JPropNode root) {