Hi,

On 3/27/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Log:
Use different login method if credentials are NULL
[...]
         Credentials creds = cp.getCredentials(request);
-        return repository.login(creds, workspace);
+        if (creds == null) {
+            return repository.login(workspace);
+        } else {
+            return repository.login(creds, workspace);
+        }

Is there a difference? At least the spec says that a null value should
be equivalent to not including the argument.

BR,

Jukka Zitting

Reply via email to