Fix a oversight made by auto-generated code.

This commit is contained in:
Aria 2023-06-15 16:09:04 -07:00
parent eec82aa293
commit cb5da20242

View file

@ -117,9 +117,7 @@ public class XmlRpcStreamWriter {
writer.write ( DATA_START_TAG );
List<?> list = ( List<?> ) value;
for ( Object item : list ) {
writer.write ( VALUE_START_TAG );
writeValue ( item );
writer.write ( VALUE_END_TAG );
}
writer.write ( DATA_END_TAG );
writer.write ( ARRAY_END_TAG );
@ -134,9 +132,7 @@ public class XmlRpcStreamWriter {
writer.write ( NAME_START_TAG );
writer.write ( escapeXml ( entry.getKey ( ).toString ( ) ) );
writer.write ( NAME_END_TAG );
writer.write ( VALUE_START_TAG );
writeValue ( entry.getValue ( ) );
writer.write ( VALUE_END_TAG );
writer.write ( MEMBER_END_TAG );
}
writer.write ( STRUCT_END_TAG );