Skip to content

Commit

Permalink
Revert "Fix #4595: merging of PropertyName.NO_NAME by AnnotationIntro…
Browse files Browse the repository at this point in the history
…spectorPair"

This reverts commit d7fb59b.
  • Loading branch information
cowtowncoder committed Jun 22, 2024
1 parent d7fb59b commit 8e22209
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
2 changes: 0 additions & 2 deletions release-notes/VERSION-2.x
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ Project: jackson-databind
#4577: Cannot deserialize value of type `java.math.BigDecimal` from
String "3." (not a valid representation)
(reported by @dmelisso)
#4595: No way to explicitly disable wrapping in custom annotation processor
(reported by @SimonCockx)

2.17.1 (04-May-2024)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,6 @@ protected Object readResolve() {
return NO_NAME;
}
*/
// 22-Jun-2024, tatu: This is hopeful not problematic as marker
// value should only be provided by AnnotationIntrospector etc,
// but not stored in Deserializer/Serializer instances.
}
return this;
}
Expand Down Expand Up @@ -130,10 +127,6 @@ public static PropertyName merge(PropertyName name1, PropertyName name2) {
if (name2 == null) {
return name1;
}
// 22-Jun-2024, tatu: [databind#4595] Should not merge NO_NAME
if (name1 == NO_NAME) {
return name1;
}
String ns = _nonEmpty(name1._namespace, name2._namespace);
String simple = _nonEmpty(name1._simpleName, name2._simpleName);

Expand Down

0 comments on commit 8e22209

Please sign in to comment.