Skip to content

Commit 41864be

Browse files
committed
Fix #262
1 parent 345d2af commit 41864be

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

release-notes/CREDITS-2.x

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,11 @@ Eric Schoonover (spoon16@github)
7777
matches `@JacksonXmlRootElement` localName
7878
(2.12.0)
7979

80+
Dave Jarvis (DaveJarvis@github)
81+
82+
* Requested #262: Make `ToXmlGenerator` non-final
83+
(2.12.0)
84+
8085
Joseph Petersen (jetersen@github)
8186

8287
* Reported #273: Input mismatch with case-insensitive properties

release-notes/VERSION-2.x

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ Project: jackson-dataformat-xml
66

77
2.12.0 (not yet released)
88

9+
#262: Make `ToXmlGenerator` non-final
10+
(requested by Dave J)
911
#273: Input mismatch with case-insensitive properties
1012
(reported by Joseph P)
1113
#318: XMLMapper fails to deserialize null (POJO reference) from blank tag

src/main/java/com/fasterxml/jackson/dataformat/xml/ser/ToXmlGenerator.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727
* additional configuration calls beyond regular {@link JsonGenerator} API,
2828
* mostly to pass namespace information.
2929
*/
30-
public final class ToXmlGenerator
30+
public class ToXmlGenerator
31+
// non-final since 2.12 but only sub-class if you really know what you are doing...
3132
extends GeneratorBase
3233
{
3334
/**

0 commit comments

Comments
 (0)