From commits-return-10023-apmail-sis-commits-archive=sis.apache.org@sis.apache.org Fri Nov 17 14:30:06 2017 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 2F80C10515 for ; Fri, 17 Nov 2017 14:30:06 +0000 (UTC) Received: (qmail 59907 invoked by uid 500); 17 Nov 2017 14:30:06 -0000 Delivered-To: apmail-sis-commits-archive@sis.apache.org Received: (qmail 59878 invoked by uid 500); 17 Nov 2017 14:30:06 -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 59869 invoked by uid 99); 17 Nov 2017 14:30:06 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Nov 2017 14:30:06 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 659BD1A07CF for ; Fri, 17 Nov 2017 14:30:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id OaB5vNPjezhn for ; Fri, 17 Nov 2017 14:30:04 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 054065F3E0 for ; Fri, 17 Nov 2017 14:30:04 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 4C9B5E0295 for ; Fri, 17 Nov 2017 14:30:03 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id CCE5F240FE for ; Fri, 17 Nov 2017 14:30:00 +0000 (UTC) Date: Fri, 17 Nov 2017 14:30:00 +0000 (UTC) From: "Martin Desruisseaux (JIRA)" To: commits@sis.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (SIS-367) IntegerList: Comodification check / primitive Stream MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SIS-367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Desruisseaux closed SIS-367. ----------------------------------- > IntegerList: Comodification check / primitive Stream > ---------------------------------------------------- > > Key: SIS-367 > URL: https://issues.apache.org/jira/browse/SIS-367 > Project: Spatial Information Systems > Issue Type: Improvement > Components: Utilities > Affects Versions: 0.7 > Environment: Any > Reporter: Alexis Manin > Assignee: Martin Desruisseaux > Priority: Minor > Labels: newbie, patch > Fix For: 0.8 > > Attachments: IntegerList.patch > > > Hi, > I'd like to propose a patch with following (minor) modifications on IntegerList class : > - Add a method to acquire an IntStream over an IntegerList values, to allow iteration over primitive values in an IntegerList, > - update AbstractList's modCount attribute when a modification happens over the list, which serves for multi-context modification. > You'll find a patch attached. It contains all modifications, which are located in IntegerList and related test class. > Hope it ! -- This message was sent by Atlassian JIRA (v6.4.14#64029)