Add serializing for Long data type as a integer
This commit is contained in:
parent
9c82323cfa
commit
81fdc0a8c5
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ public class XmlRpcStreamWriter {
|
|||
writer.write ( "</string>" );
|
||||
writer.write ( VALUE_END_TAG );
|
||||
}
|
||||
else if ( value instanceof Integer ) {
|
||||
else if ( value instanceof Integer || value instanceof Long ) {
|
||||
writer.write ( VALUE_START_TAG );
|
||||
writer.write ( "<int>" );
|
||||
writer.write ( value.toString ( ) );
|
||||
|
|
Loading…
Reference in a new issue