Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 895B6200CCB for ; Thu, 20 Jul 2017 18:31:40 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 87AD316BAA9; Thu, 20 Jul 2017 16:31:40 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A60FA16BAA7 for ; Thu, 20 Jul 2017 18:31:39 +0200 (CEST) Received: (qmail 26415 invoked by uid 500); 20 Jul 2017 16:31:38 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 26403 invoked by uid 99); 20 Jul 2017 16:31:38 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Jul 2017 16:31:38 +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 D19F7C02AA for ; Thu, 20 Jul 2017 16:31:37 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.379 X-Spam-Level: ** X-Spam-Status: No, score=2.379 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, 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-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 4nLApDITCbjT for ; Thu, 20 Jul 2017 16:31:36 +0000 (UTC) Received: from mail-ua0-f169.google.com (mail-ua0-f169.google.com [209.85.217.169]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id AB3A15F6C8 for ; Thu, 20 Jul 2017 16:31:35 +0000 (UTC) Received: by mail-ua0-f169.google.com with SMTP id q25so8408184uah.1 for ; Thu, 20 Jul 2017 09:31:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=t7HYYIrfc2TAzTdKHXWFm532P9WnidKAKOaEq+1sbxc=; b=hjRSYOjb5Ghr/vaTdhHuiU/aob5WpAZCn4W+LAbcFXZLF0I280Z4BIODRoQISNCMqx ptXRVg+MJuoOi6F4s4qjOeKRWqDZuvqoIf04m/MH36oBbI1tD1LP2ZZJ3vCbOjmUTdZx 01cHI3FoUxiAILpRkbBlCv9sR0XEDXzIMiQZ96lOFfssOSZKZx7BEKJ+e8Ojzd1iPZhD nLwQdmGuCglJ7RnREaeqAw3fvbZfAEe/oYdZZ+IMAS/DCAxVj6shpStLp1xaQJrAn5h2 9lmSEQX8GjfW/PhCiTynmcpagI3uwlSIg3g904RY+M8lYrJDuTGt9ThZxZ4dfDcqFVA8 AWbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=t7HYYIrfc2TAzTdKHXWFm532P9WnidKAKOaEq+1sbxc=; b=GC6NbhmwvkbyrZTgPa0e+7UQCPv4eX+mmGy0HA/SoEnYuSwpNflhCCpYk8NbRzRgIm Y7WrZaKv1qYO8Yog6sruQ+/azOjvKv2LmoSK6bAMeobqUpButezk6Nx57jWG/VA/f+di DReTNL16CsKzcEpxMYWnxx6J0eyBO0GHqNuuKXKZfjwiSTDuS7Ck4NioxHdU2Ehm7ZSU 0og7ItDF6lDY5c89/U8hBDSBISkFRRc1/n33GVKvttL1riW2aRfMre7euAxNdhV/uokl N4rsS1KEsgRHZE0FK7snc0pIQvuSOPPcOkHzMA1yZXyDbTtLa2+7hCMAMkwBYQpI5+o3 OYOQ== X-Gm-Message-State: AIVw112UmYAVwyLCif/RIuWjOOLn9b3TJu+VPupS+eEolwAcLbq44oom C8kLSr9C3bIoTtTG4KoY+RSwRO2kjk6n X-Received: by 10.176.7.70 with SMTP id h64mr2472743uah.134.1500568289005; Thu, 20 Jul 2017 09:31:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.159.61.69 with HTTP; Thu, 20 Jul 2017 09:31:28 -0700 (PDT) Received: by 10.159.61.69 with HTTP; Thu, 20 Jul 2017 09:31:28 -0700 (PDT) In-Reply-To: References: <20170719235614.30DA93A0B6E@svn01-us-west.apache.org> From: Gary Gregory Date: Thu, 20 Jul 2017 09:31:28 -0700 Message-ID: Subject: Re: [vfs] Lcurly=no (was: svn commit: r1802440 - /commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/jar/test/JarAttributesTestCase.java To: Commons Developers List Content-Type: multipart/alternative; boundary="94eb2c12339ad3ebb90554c247d8" archived-at: Thu, 20 Jul 2017 16:31:40 -0000 --94eb2c12339ad3ebb90554c247d8 Content-Type: text/plain; charset="UTF-8" Sure, that sounds good, EOL on lcurl. On Jul 20, 2017 01:08, "Bernd Eckenfels" wrote: > Hello Gary, > > Well I don't remember that we agreed on it, however as I said both is > fine. Should we then make the change to checkstyle file and if yes, what > change? Using eol for all lcurly entries? > > Gruss > Bernd > > Gruss > Bernd > -- > http://bernd.eckenfels.net > ________________________________ > From: Gary Gregory > Sent: Thursday, July 20, 2017 2:52:55 AM > To: Commons Developers List > Subject: Re: [vfs] Lcurly=no (was: svn commit: r1802440 - > /commons/proper/vfs/trunk/core/src/test/java/org/apache/ > commons/vfs2/provider/jar/test/JarAttributesTestCase.java > > We had talked a long time ago about changing the style to the {} style > below but it was never done. Any IDE can automatically do that but I do not > know how to tell Eclipse for example to ONLY do that. So if we can live we > a tree-wide reformat, that's easy. > > Gary > > On Wed, Jul 19, 2017 at 5:15 PM, Bernd Eckenfels > wrote: > > > Hello. > > > > I am not sure about changing that. It looks to me like most of the VFS > > code uses opening braces on new lines. I actually agree with that style. > > > > I would also accept to change it, but then completely. > > > > In fact the checkstyle template specifies curly = nl > > https://github.com/apache/commons-vfs/blob/trunk/ > checkstyle.properties#L17 > > > > Gruss > > Bernd > > -- > > http://bernd.eckenfels.net > > _____________________________ > > From: ggregory@apache.org > > Sent: Donnerstag, Juli 20, 2017 1:56 AM > > Subject: svn commit: r1802440 - /commons/proper/vfs/trunk/ > > core/src/test/java/org/apache/commons/vfs2/provider/jar/ > > test/JarAttributesTestCase.java > > To: > > > > > > > Author: ggregory > > Date: Wed Jul 19 23:56:13 2017 > > New Revision: 1802440 > > > > URL: http://svn.apache.org/viewvc?rev=1802440&view=rev > > Log: > > Format for more standard brace usage. > > > > Modified: > > commons/proper/vfs/trunk/core/src/test/java/org/apache/ > > commons/vfs2/provider/jar/test/JarAttributesTestCase.java > > > > Modified: commons/proper/vfs/trunk/core/src/test/java/org/apache/ > > commons/vfs2/provider/jar/test/JarAttributesTestCase.java > > URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/ > > src/test/java/org/apache/commons/vfs2/provider/jar/ > > test/JarAttributesTestCase.java?rev=1802440&r1=1802439& > > r2=1802440&view=diff > > ============================================================ > > ================== > > --- commons/proper/vfs/trunk/core/src/test/java/org/apache/ > > commons/vfs2/provider/jar/test/JarAttributesTestCase.java (original) > > +++ commons/proper/vfs/trunk/core/src/test/java/org/apache/ > > commons/vfs2/provider/jar/test/JarAttributesTestCase.java Wed Jul 19 > > 23:56:13 2017 > > @@ -30,19 +30,16 @@ import org.junit.Test; > > * > > * @version $Id$ > > */ > > -public class JarAttributesTestCase > > -{ > > - private void printAttributes(final Map attributes) > > - { > > - for (final Map.Entry e : attributes.entrySet()) > > - { > > +public class JarAttributesTestCase { > > + > > + private void printAttributes(final Map attributes) { > > + for (final Map.Entry e : attributes.entrySet()) { > > System.out.println("Key: " + e.getKey() + ", Value: " + e.getValue()); > > } > > } > > > > @Test > > - public void testAttributes() throws Exception > > - { > > + public void testAttributes() throws Exception { > > final FileObject file = JarProviderTestCase.getTestJar(VFS.getManager(), > > "test.jar"); > > > > final Map attributes = file.getContent(). > getAttributes(); > > @@ -52,8 +49,7 @@ public class JarAttributesTestCase > > } > > > > @Test > > - public void testNestedAttributes() throws Exception > > - { > > + public void testNestedAttributes() throws Exception { > > final FileObject nested = JarProviderTestCase. > getTestJar(VFS.getManager(), > > "nested.jar"); > > final FileObject file = nested.resolveFile("test.jar"); > > > > > > > > > > > > > --94eb2c12339ad3ebb90554c247d8--