Skip to content

Commit 8e22209

Browse files
committed
Revert "Fix #4595: merging of PropertyName.NO_NAME by AnnotationIntrospectorPair"
This reverts commit d7fb59b.
1 parent d7fb59b commit 8e22209

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

release-notes/VERSION-2.x

-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ Project: jackson-databind
1616
#4577: Cannot deserialize value of type `java.math.BigDecimal` from
1717
String "3." (not a valid representation)
1818
(reported by @dmelisso)
19-
#4595: No way to explicitly disable wrapping in custom annotation processor
20-
(reported by @SimonCockx)
2119

2220
2.17.1 (04-May-2024)
2321

src/main/java/com/fasterxml/jackson/databind/PropertyName.java

-7
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,6 @@ protected Object readResolve() {
8282
return NO_NAME;
8383
}
8484
*/
85-
// 22-Jun-2024, tatu: This is hopeful not problematic as marker
86-
// value should only be provided by AnnotationIntrospector etc,
87-
// but not stored in Deserializer/Serializer instances.
8885
}
8986
return this;
9087
}
@@ -130,10 +127,6 @@ public static PropertyName merge(PropertyName name1, PropertyName name2) {
130127
if (name2 == null) {
131128
return name1;
132129
}
133-
// 22-Jun-2024, tatu: [databind#4595] Should not merge NO_NAME
134-
if (name1 == NO_NAME) {
135-
return name1;
136-
}
137130
String ns = _nonEmpty(name1._namespace, name2._namespace);
138131
String simple = _nonEmpty(name1._simpleName, name2._simpleName);
139132

0 commit comments

Comments
 (0)