6 Apr
2009
6 Apr
'09
8:50 a.m.
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
+1 -- Sergiu Dumitriu http://purl.org/net/sergiu/