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
devs@xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to