Return-Path: X-Original-To: apmail-chemistry-dev-archive@www.apache.org Delivered-To: apmail-chemistry-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 87C49189F1 for ; Wed, 15 Jul 2015 07:06:43 +0000 (UTC) Received: (qmail 3456 invoked by uid 500); 15 Jul 2015 07:06:43 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 3402 invoked by uid 500); 15 Jul 2015 07:06:43 -0000 Mailing-List: contact dev-help@chemistry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@chemistry.apache.org Delivered-To: mailing list dev@chemistry.apache.org Received: (qmail 3390 invoked by uid 99); 15 Jul 2015 07:06:43 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jul 2015 07:06:43 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id AED91C11BA for ; Wed, 15 Jul 2015 07:06:42 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.879 X-Spam-Level: ** X-Spam-Status: No, score=2.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id RIMl5fdAXWT0 for ; Wed, 15 Jul 2015 07:06:41 +0000 (UTC) Received: from mail-ob0-f174.google.com (mail-ob0-f174.google.com [209.85.214.174]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 1591020F17 for ; Wed, 15 Jul 2015 07:06:41 +0000 (UTC) Received: by obnw1 with SMTP id w1so20848071obn.3 for ; Wed, 15 Jul 2015 00:06:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=sb7uiTFxu+C3oxzbtvt5mxBa350HO/BLP47CHap806c=; b=ZnBHozjouyX68a1ZmQMlgCxJl1BhMqW1NNGSOhea5OtvXz5tZ5TuJUhcnE8mB6A69Q EW0MzEvwLAi/sJTeWdeZTDldOQ5A96y4BrbScxwsDVfFtKw1UFnpwyozxULEf1afFmmy hIzEY+G1p4/7WZKEIa2qzD3xp2Ac7+6yjL6S1i2GW4l9wM36HthHaEcAOPlXKGkfnkVq jdRIEjIfyDGpfhZLbe/0jZtQmRIXAZGIAp9QGYL233kxMJSt9wOSU2ca/SbEhtHTsEDz F/GorvrAvjXvfgrWAuTAFlyBxuqIM6/5FbsXfaqkF3mDQJKuaeZjyffgOAvtb4xeYaOk qO0A== MIME-Version: 1.0 X-Received: by 10.60.142.234 with SMTP id rz10mr2312986oeb.4.1436944000088; Wed, 15 Jul 2015 00:06:40 -0700 (PDT) Sender: michael.javaone@gmail.com Received: by 10.202.215.194 with HTTP; Wed, 15 Jul 2015 00:06:40 -0700 (PDT) In-Reply-To: <0e413560571560e637c90e44a3a4b275@jpberlin.de> References: <0e413560571560e637c90e44a3a4b275@jpberlin.de> Date: Wed, 15 Jul 2015 09:06:40 +0200 X-Google-Sender-Auth: GqLoAuqIB8dbcjq2MMFMh9hbRJ4 Message-ID: Subject: Re: trunk - policy From: Michael Brackx To: =?UTF-8?Q?Florian_M=C3=BCller?= Cc: "dev@chemistry.apache.org" Content-Type: multipart/alternative; boundary=047d7b41c0d0b00111051ae498c1 --047d7b41c0d0b00111051ae498c1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable No, not a major problem. Michael On Tue, Jul 14, 2015 at 1:45 PM, Florian M=C3=BCller wrot= e: > 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 he= re. > > I had to change and align the behavior of getPolicies() when I fixed an > issue with refreshing objects. Now all attributes of an object (rendition= s, > 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 policie= s. >> Before, with 0.13.0, it returned an empty list. >> >> Michael >> > > --047d7b41c0d0b00111051ae498c1--