dgervalle/xwiki-platform — comment on commit a80fe5de8dd21830aa8ae7fbf74f44e4115bc287
File: xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/doc/XWikiDocument.java line 563
By dgervalle:

I was doing so in a previous commit (using a local serializer) and Thomas tell me it was not consistent with the fact that the wiki and the language will be serialized differently. So I changed for this method.