Return-Path: X-Original-To: apmail-sis-commits-archive@www.apache.org Delivered-To: apmail-sis-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1EED311607 for ; Wed, 14 May 2014 22:57:46 +0000 (UTC) Received: (qmail 41198 invoked by uid 500); 10 May 2014 23:14:31 -0000 Delivered-To: apmail-sis-commits-archive@sis.apache.org Received: (qmail 98153 invoked by uid 500); 10 May 2014 23:03:25 -0000 Mailing-List: contact commits-help@sis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: sis-dev@sis.apache.org Delivered-To: mailing list commits@sis.apache.org Received: (qmail 85665 invoked by uid 99); 10 May 2014 22:55:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 May 2014 22:55:26 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 May 2014 22:37:46 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 5D9B82388868; Wed, 7 May 2014 22:37:26 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: svn commit: r1593151 - in /sis/branches/JDK8/core: sis-feature/src/main/java/org/apache/sis/feature/PropertyList.java sis-utility/src/main/java/org/apache/sis/internal/util/CheckedArrayList.java Date: Wed, 07 May 2014 22:37:26 -0000 To: commits@sis.apache.org From: desruisseaux@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20140507223726.5D9B82388868@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: desruisseaux Date: Wed May 7 22:37:25 2014 New Revision: 1593151 URL: http://svn.apache.org/r1593151 Log: Removal of the PropertyList class, since the approach allowing a [0 ... n] cardinality for Attribute instance has been abandoned (see comment in commit 1593149 for more details). The case of PropertySingleton still needs to be re-evaluated. Removed: sis/branches/JDK8/core/sis-feature/src/main/java/org/apache/sis/feature/PropertyList.java Modified: sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/internal/util/CheckedArrayList.java Modified: sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/internal/util/CheckedArrayList.java URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/internal/util/CheckedArrayList.java?rev=1593151&r1=1593150&r2=1593151&view=diff ============================================================================== --- sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/internal/util/CheckedArrayList.java [UTF-8] (original) +++ sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/internal/util/CheckedArrayList.java [UTF-8] Wed May 7 22:37:25 2014 @@ -194,17 +194,17 @@ public final class CheckedArrayList e } /** - * A wrapper around the given array for use by {@link CheckedArrayList#addAll(Collection)} only, or by other - * implementations using the same strategy. This wrapper violates some {@link List} method contracts, so it - * shall really be used only as a temporary object for passing array to {@code ArrayList.addAll(…)} methods. + * A wrapper around the given array for use by {@link CheckedArrayList#addAll(Collection)} only. + * This wrapper violates some {@link List} method contracts, so it shall really be used only as + * a temporary object for passing array to {@code ArrayList.addAll(…)} methods. * In particular {@link #toArray()} returns directly the internal array, because this is the method to be * invoked by {@code ArrayList.addAll(…)} (this is actually the only important method in this wrapper). * * @param The type or list elements. */ - public static final class Mediator extends AbstractList { + private static final class Mediator extends AbstractList { private final E[] array; - public Mediator(final E[] array) {this.array = array;} + Mediator(final E[] array) {this.array = array;} @Override public int size() {return array.length;} @Override public E get(int index) {return array[index];} @Override public E[] toArray() {return array;} // See class javadoc.