[ 
https://issues.apache.org/jira/browse/SLING-4234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carsten Ziegeler resolved SLING-4234.
-------------------------------------
    Resolution: Fixed

I fixed the javadoc

> Tenant create implementation does not match with the API 
> ---------------------------------------------------------
>
>                 Key: SLING-4234
>                 URL: https://issues.apache.org/jira/browse/SLING-4234
>             Project: Sling
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: Tenant 1.0.2
>            Reporter: Timothee Maret
>            Assignee: Carsten Ziegeler
>             Fix For: Tenant 1.0.4
>
>
> The API org.apache.sling.tenant.TenantManager#create stipulates
> {code}
> @throws IllegalArgumentException if a tenant with the same {@code tentantId} 
> already exists.
> {code}
> However, the implementation in 
> org.apache.sling.tenant.internal.TenantProviderImpl#create does not implement 
> this. Instead, it returns null when the tenant already exists.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to