6 Apr
2009
6 Apr
'09
10:43 p.m.
+1 Vincent Massol wrote:
Hi,
Now that we have a DocumentName and factory/serializer I'd like to propose that we change all document access bridge APIs to use DocumentName instead of String. The idea is that string way of referencing a document should be used only at boundaries of the xwiki system and internally we should ony use DocumentName. The reasons are multiple:
* less errors since it's a strongly typed api * whenever code manipulates DocumentName it can be sure it contains valid and non null data and thus doesn't need to recheck again
Here's my +1
Thanks -Vincent
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs