Skip to content

Commit

Permalink
Undo changes from databind#631, to avoid side-effects in Squiggly lib…
Browse files Browse the repository at this point in the history
…rary (implemented as a Jackson Property Filter)

Reported here: FasterXML#3160
  • Loading branch information
Aritz Bastida committed May 19, 2021
1 parent 94484ca commit 391c91a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.10.5.1</version>
<version>2.10.5.1-telco-1</version>
<name>jackson-databind</name>
<packaging>bundle</packaging>
<description>General data-binding functionality for Jackson: works on core streaming API</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -593,12 +593,12 @@ public void serializeWithType(Object bean, JsonGenerator gen,
throws IOException
{
if (_objectIdWriter != null) {
gen.setCurrentValue(bean); // [databind#631]
//gen.setCurrentValue(bean); // [databind#631]
_serializeWithObjectId(bean, gen, provider, typeSer);
return;
}

gen.setCurrentValue(bean); // [databind#631]
//gen.setCurrentValue(bean); // [databind#631]
WritableTypeId typeIdDef = _typeIdDef(typeSer, bean, JsonToken.START_OBJECT);
typeSer.writeTypePrefix(gen, typeIdDef);
if (_propertyFilterId != null) {
Expand Down

0 comments on commit 391c91a

Please sign in to comment.