@@ -26,7 +26,7 @@ static class SubTypeWithClassProperty extends BaseTypeWithClassProperty {
2626 public SubTypeWithClassProperty () { }
2727 public SubTypeWithClassProperty (String s ) { name = s ; }
2828 }
29-
29+
3030 @ JsonTypeInfo (use =JsonTypeInfo .Id .CLASS , include =JsonTypeInfo .As .WRAPPER_OBJECT )
3131 protected static class BaseTypeWithClassObject { }
3232
@@ -67,7 +67,7 @@ public void setUp() throws Exception {
6767 super .setUp ();
6868 _xmlMapper = new XmlMapper ();
6969 }
70-
70+
7171 /*
7272 /**********************************************************
7373 /* Unit tests
@@ -79,9 +79,6 @@ public void testAsClassProperty() throws Exception
7979 String xml = _xmlMapper .writeValueAsString (new SubTypeWithClassProperty ("Foobar" ));
8080
8181 // Type info should be written as an attribute, so:
82- /* 13-Jan-2010, tatu: With Jackson 1.7.1, it is possible to override type information
83- * inclusion, which allows use of attribute over element, so:
84- */
8582 final String exp =
8683 "<SubTypeWithClassProperty _class=\" com.fasterxml.jackson.dataformat.xml.misc.PolymorphicTypesTest..SubTypeWithClassProperty\" >"
8784 //"<SubTypeWithClassProperty><_class>com.fasterxml.jackson.xml.types.TestPolymorphic..SubTypeWithClassProperty</_class>"
@@ -105,7 +102,7 @@ public void testAsClassObject() throws Exception
105102 }
106103
107104 /**
108- * Test for issue 81
105+ * Test for [dataformat-xml#81]
109106 */
110107 public void testAsPropertyWithObjectId () throws Exception
111108 {
0 commit comments