cbeust/testng — pull request #248 by wutingbupt (2012-07-17 05:51:41+00:00)
Title: Improve the XmlInclude toXml method to keep the back compatible

Hi Cedric,

I updated XmlInclude toXml() method again to keep the back compatible :)

My yesterday pull request will make the output very ugly, even though there are no parameters in the tag, it still output like this:

If we have lots of method, it looks very ugly, so I pushed again to keep the back compatible for those no parameters include more clear.

Sorry not push them at once.

Br,
Tim