From commits-return-14504-archive-asf-public=cust-asf.ponee.io@pdfbox.apache.org Thu Apr 11 16:31:21 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 8F5FD180763 for ; Thu, 11 Apr 2019 18:31:21 +0200 (CEST) Received: (qmail 85050 invoked by uid 500); 11 Apr 2019 16:31:20 -0000 Mailing-List: contact commits-help@pdfbox.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pdfbox.apache.org Delivered-To: mailing list commits@pdfbox.apache.org Received: (qmail 85041 invoked by uid 99); 11 Apr 2019 16:31:20 -0000 Received: from Unknown (HELO svn01-us-west.apache.org) (209.188.14.144) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Apr 2019 16:31:20 +0000 Received: from svn01-us-west.apache.org (localhost [127.0.0.1]) by svn01-us-west.apache.org (ASF Mail Server at svn01-us-west.apache.org) with ESMTP id 623313A005C for ; Thu, 11 Apr 2019 16:31:20 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1857348 - /pdfbox/branches/issue45/pdfbox/src/main/java/org/apache/pdfbox/cos/COSArray.java Date: Thu, 11 Apr 2019 16:31:20 -0000 To: commits@pdfbox.apache.org From: tilman@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20190411163120.623313A005C@svn01-us-west.apache.org> Author: tilman Date: Thu Apr 11 16:31:20 2019 New Revision: 1857348 URL: http://svn.apache.org/viewvc?rev=1857348&view=rev Log: PDFBOX-45: improve javadoc Modified: pdfbox/branches/issue45/pdfbox/src/main/java/org/apache/pdfbox/cos/COSArray.java Modified: pdfbox/branches/issue45/pdfbox/src/main/java/org/apache/pdfbox/cos/COSArray.java URL: http://svn.apache.org/viewvc/pdfbox/branches/issue45/pdfbox/src/main/java/org/apache/pdfbox/cos/COSArray.java?rev=1857348&r1=1857347&r2=1857348&view=diff ============================================================================== --- pdfbox/branches/issue45/pdfbox/src/main/java/org/apache/pdfbox/cos/COSArray.java (original) +++ pdfbox/branches/issue45/pdfbox/src/main/java/org/apache/pdfbox/cos/COSArray.java Thu Apr 11 16:31:20 2019 @@ -520,6 +520,15 @@ public class COSArray extends COSBase im return needToBeUpdated; } + /** + * {@inheritDoc} + *

+ * Although the state is set, it has no effect on COSWriter behavior because arrays are always + * written as direct object. If an array is to be part of an incremental save, then the method + * should be called for its holding dictionary. + * + * @param flag + */ @Override public void setNeedToBeUpdated(boolean flag) {