Skip to content

Commit 93a118c

Browse files
committed
Fix compilation problems wrt 3.0/databind
1 parent 47b7d08 commit 93a118c

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

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

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -478,13 +478,6 @@ public void writeFieldId(long id) throws IOException {
478478
final String name = Long.toString(id);
479479
writeFieldName(name);
480480
}
481-
482-
@Override
483-
public final void writeStringField(String fieldName, String value) throws IOException
484-
{
485-
writeFieldName(fieldName);
486-
writeString(value);
487-
}
488481

489482
// 03-Aug-2017, tatu: We could use this as mentioned in comment below BUT
490483
// since there is no counterpart for deserialization this will not

src/main/java/com/fasterxml/jackson/dataformat/xml/util/XmlRootNameLookup.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,8 @@ public QName findRootName(Class<?> rootType, MapperConfig<?> config)
6262
// for annotation introspection hence not needed any more
6363
protected QName _findRootName(Class<?> rootType, MapperConfig<?> config)
6464
{
65-
BeanDescription beanDesc = config.introspectClassAnnotations(rootType);
66-
AnnotationIntrospector intr = config.getAnnotationIntrospector();
67-
AnnotatedClass ac = beanDesc.getClassInfo();
65+
final AnnotatedClass ac = config.introspectClassAnnotations(rootType);
66+
final AnnotationIntrospector intr = config.getAnnotationIntrospector();
6867
String localName = null;
6968
String ns = null;
7069

0 commit comments

Comments
 (0)