Skip to content

Commit 68850d0

Browse files
committed
Remove deprecated mutator method, not needed any more
1 parent 9d61cc9 commit 68850d0

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

src/main/java/tools/jackson/dataformat/xml/JacksonXmlAnnotationIntrospector.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public PropertyName findWrapperName(MapperConfig<?> config, Annotated ann)
8484
}
8585
return null;
8686
}
87-
87+
8888
@SuppressWarnings("deprecation")
8989
@Override
9090
public PropertyName findRootName(MapperConfig<?> config, AnnotatedClass ac)
@@ -93,7 +93,7 @@ public PropertyName findRootName(MapperConfig<?> config, AnnotatedClass ac)
9393
if (root != null) {
9494
String local = root.localName();
9595
String ns = root.namespace();
96-
96+
9797
if (local.length() == 0 && ns.length() == 0) {
9898
return PropertyName.USE_DEFAULT;
9999
}

src/main/java/tools/jackson/dataformat/xml/XmlFactory.java

-5
Original file line numberDiff line numberDiff line change
@@ -334,11 +334,6 @@ public Class<XmlWriteFeature> getFormatWriteFeatureType() {
334334
/**********************************************************************
335335
*/
336336

337-
@Deprecated
338-
public void setXMLTextElementName(String name) {
339-
_cfgNameForTextElement = name;
340-
}
341-
342337
public String getXMLTextElementName() {
343338
return _cfgNameForTextElement;
344339
}

0 commit comments

Comments
 (0)