Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class FieldInfo {
public static final long DISABLE_ARRAY_MAPPING = 1L << 58;
public static final long DISABLE_AUTO_TYPE = 1L << 59;
public static final long DISABLE_JSONB = 1L << 60;
public static final long BACKR_EFERENCE = 1L << 61;
public static final long BACKR_REFERENCE = 1L << 61;
public static final long RECORD = 1L << 62;
public static final long CONTENT_AS = 1L << 63;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -991,7 +991,7 @@ private void processAnnotation(FieldInfo fieldInfo, Annotation[] annotations) {
break;
case "com.fasterxml.jackson.annotation.JsonBackReference":
if (useJacksonAnnotation) {
fieldInfo.features |= FieldInfo.BACKR_EFERENCE;
fieldInfo.features |= FieldInfo.BACKR_REFERENCE;
}
break;
default:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public abstract class FieldWriter<T>
this.trim = "trim".equals(format);
this.raw = (features & FieldInfo.RAW_VALUE_MASK) != 0;
this.managedReference = (features & ReferenceDetection.mask) != 0;
this.backReference = (features & FieldInfo.BACKR_EFERENCE) != 0;
this.backReference = (features & FieldInfo.BACKR_REFERENCE) != 0;
this.rootParentPath = new JSONWriter.Path(JSONWriter.Path.ROOT, name);

int nameLength = name.length();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ public void getFieldInfo(BeanInfo beanInfo, FieldInfo fieldInfo, Class objectCla
break;
case "com.fasterxml.jackson.annotation.JsonBackReference":
if (useJacksonAnnotation) {
fieldInfo.features |= FieldInfo.BACKR_EFERENCE;
fieldInfo.features |= FieldInfo.BACKR_REFERENCE;
}
break;
default:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5171,7 +5171,7 @@ public boolean disableReferenceDetect() {
}

public boolean disableSmartMatch() {
return (objectFeatures & FieldInfo.DISABLE_ARRAY_MAPPING) != 0;
return (objectFeatures & FieldInfo.DISABLE_SMART_MATCH) != 0;
}

public boolean disableAutoType() {
Expand Down
Loading