chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Brackx <michael.javaone+c...@gmail.com>
Subject Re: trunk - policy
Date Wed, 15 Jul 2015 07:06:40 GMT
No, not a major problem.

Michael

On Tue, Jul 14, 2015 at 1:45 PM, Florian Müller <fmui@apache.org> wrote:

> Hi Michael,
>
> That's true. Is this a major problem for you?
> The 0.13.0 JavaDoc of getPolicies() did not specify what is returned when
> no policies are applied. An application had to be prepared to get null here.
>
> I had to change and align the behavior of getPolicies() when I fixed an
> issue with refreshing objects. Now all attributes of an object (renditions,
> relationships, ACL, and policies) behave in the same way if they are not
> set, not requested, or empty - they return null.
> The JavaDoc has been updated accordingly.
>
>
> - Florian
>
>
>
>  Hi,
>>
>> On trunk CmisObject.getPolicies() returns null when there are no policies.
>> Before, with 0.13.0, it returned an empty list.
>>
>> Michael
>>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message