Re: Should we use null instead of default for the default workspace name?

2008-02-19 Thread Bertrand Delacretaz
Hi, On Feb 19, 2008 8:47 AM, Felix Meschberger [EMAIL PROTECTED] wrote: ...I would take a slightly different approach: If the configuration value is an empty string, assume the default workspace to be null. Such that SlingRepository.getDefaultWorkspace() returns the actual name - null that

Should we use null instead of default for the default workspace name?

2008-02-18 Thread Bertrand Delacretaz
Hi, Currently Sling uses the String default for the default workspace name, in several places. According to [1] however, if workspaceName is null, a default workspace is automatically selected by the repository implementation. This might make Sling more interoperable with various JCR

Re: Should we use null instead of default for the default workspace name?

2008-02-18 Thread Tobias Bocanegra
+1 good idea. On 2/18/08, Bertrand Delacretaz [EMAIL PROTECTED] wrote: Hi, Currently Sling uses the String default for the default workspace name, in several places. According to [1] however, if workspaceName is null, a default workspace is automatically selected by the repository