Re: [VOTE] Release Apache Commons CLI 1.3 based on RC1

2015-05-04 Thread Jacopo Cappellato
Hi Benedikt, see inline (with my vote at the bottom): On May 3, 2015, at 5:18 PM, Benedikt Ritter wrote: > Hi, > > We have fixed quite a few bugs and added some significant enhancements > since CLI 1.2 was released and the Groovy Project is asking for a new > release, so I would like to releas

Re: [CLI] Release 1.3

2015-05-03 Thread Jacopo Cappellato
On May 3, 2015, at 12:54 PM, Benedikt Ritter wrote: > Sounds good to me. Go for it! I have attached a patch for one (but will resolve two) of the issues in the list: https://issues.apache.org/jira/browse/CLI-179 I am not sure if it is the right direction but this is what I could do today, so

Re: [CLI] Release 1.3

2015-05-03 Thread Jacopo Cappellato
de. > > br, > Benedikt > > [1] > https://issues.apache.org/jira/browse/CLI-179?jql=project%20%3D%20CLI%20AND%20fixVersion%20%3D%201.3%20AND%20resolution%20%3D%20Unresolved%20ORDER%20BY%20due%20ASC%2C%20priority%20DESC%2C%20created%20ASC > > [2] http://markmail.org/message/yl

Re: [CLI] Release 1.3

2015-05-03 Thread Jacopo Cappellato
Hi guys, any news on this? If there are pending tickets that are blocking the release I could try to help to resolve them. Thanks, Jacopo - To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-m

Re: [POOL-279] Thread concurrency issue in DefaultPooledObject.getIdleTimeMillis()

2014-10-05 Thread Jacopo Cappellato
On Oct 6, 2014, at 2:31 AM, sebb wrote: >> The only way to do it is to make >> lastReturnTime field thread-safe using locks. > > Volatile does make the field thread-safe. > It's just a question of whether the JVM can re-order the statements > when volatile is used. I think Xavier's comments ar

Re: [pool] time to cut 2.3

2014-10-04 Thread Jacopo Cappellato
On Oct 2, 2014, at 7:24 PM, Mark Thomas wrote: >> 2) removed an if block that was unnecessary I have also create a ticket for this and another code cleanup: https://issues.apache.org/jira/browse/POOL-280 Regards, Jacopo - T

Re: [pool] time to cut 2.3

2014-10-04 Thread Jacopo Cappellato
On Oct 2, 2014, at 7:24 PM, Mark Thomas wrote: > On 02/10/2014 18:00, Jacopo Cappellato wrote: >> Thank you Phil and Gary for the responses. >> >> Phil, the approach you described makes sense to me and I agree: even if part >> of the fields of DefaultPooledObject a

Re: [pool] time to cut 2.3

2014-10-02 Thread Jacopo Cappellato
On Oct 2, 2014, at 7:24 PM, Mark Thomas wrote: >> @@ -311,12 +310,8 @@ >> // Override getMessage to avoid creating objects and formatting >> // dates unless the log message will actually be used. >> @Override >> -public String getMessage() { >> -String

Re: [pool] time to cut 2.3

2014-10-02 Thread Jacopo Cappellato
PM, Phil Steitz wrote: > On 9/27/14 10:16 AM, Jacopo Cappellato wrote: >> On Sep 27, 2014, at 6:46 PM, Gary Gregory wrote: >> >>> It is not enough to set them volatile because the class has some invariants >>> that include more than one field. >> Fo

Re: [pool] time to cut 2.3

2014-09-27 Thread Jacopo Cappellato
On Sep 27, 2014, at 6:46 PM, Gary Gregory wrote: > It is not enough to set them volatile because the class has some invariants > that include more than one field. For example, under unlucky thread concurrency the method getIdleTimeMillis() could return a negative value. Jacopo ---

Re: [pool] time to cut 2.3

2014-09-27 Thread Jacopo Cappellato
yes, sure. Should I create a new ticket? Jacopo On Sep 27, 2014, at 6:46 PM, Gary Gregory wrote: > Hi and thanks for chiming in. > > The best path is to use Jira so we can all look and discuss. > > Gary > > Original message ---- > From: Jacopo Cappell

Re: [pool] time to cut 2.3

2014-09-27 Thread Jacopo Cappellato
Hi Gary, all, I am sorry if I jump in in this conversation: I am a committer of another ASF project (I am actually the PMC chairman for Apache OFBiz) and my project is using dbcp2/pool2, so thank you for all the work you did and are doing. I am reviewing the code in DefaultPooledObject and Gary

Re: [VOTE] Promote [csv] to Commons proper

2012-03-06 Thread Jacopo Cappellato
+1 On Mar 6, 2012, at 6:42 PM, Emmanuel Bourg wrote: > Commons CSV is approaching a releasable state. Considering the general > interest in this component I think it's time to promote it to Commons proper. > > There are a few points I'd like to address before a release: > - Handle CSV headers,

Re: [csv] fixing code formatting inconsistencies

2011-02-01 Thread Jacopo Cappellato
Thank you Jörg. Jacopo On Feb 1, 2011, at 5:49 PM, Jörg Schaible wrote: > Hi Jacopo, > > Jacopo Cappellato wrote: > >> >> On Jan 31, 2011, at 12:12 PM, Jörg Schaible wrote: >> >>> Hi Jacopo, >>> >>> Jacopo Cappellato wrote:

Re: [csv] Fixes for commons-csv

2011-02-01 Thread Jacopo Cappellato
, > > Gary Gregory > Senior Software Engineer > Rocket Software > 3340 Peachtree Road, Suite 820 . Atlanta, GA 30326 . USA > Tel: +1.404.760.1560 > Email: ggreg...@seagullsoftware.com > Web: seagull.rocketsoftware.com > > > >> -Original Message- >>

Re: [csv] fixing code formatting inconsistencies

2011-01-31 Thread Jacopo Cappellato
On Jan 31, 2011, at 12:12 PM, Jörg Schaible wrote: > Hi Jacopo, > > Jacopo Cappellato wrote: > >> I would like to fix some of the code formatting inconsistencies in the >> classes commons-csv, starting with indentation: most of the classes use >> the 4-blanks unit

[csv] fixing code formatting inconsistencies

2011-01-31 Thread Jacopo Cappellato
I would like to fix some of the code formatting inconsistencies in the classes commons-csv, starting with indentation: most of the classes use the 4-blanks unit for indentation but CSVParser, CSVPrinter and ExtendedBufferedReader use a 2-blanks unit; there are also some inconsistencies within th

Re: [csv] Fixes for commons-csv

2011-01-30 Thread Jacopo Cappellato
On Jan 30, 2011, at 10:17 PM, Niall Pemberton wrote: > On Fri, Jan 28, 2011 at 4:13 PM, Jacopo Cappellato > wrote: >> Hi all, >> >> I am a committer of the Apache OFBiz project and I am using commons-csv for >> a project at work. >> I am wondering if there

Re: [csv] Fixes for commons-csv

2011-01-30 Thread Jacopo Cappellato
Thanks Jörg! Jacopo On Jan 30, 2011, at 4:54 PM, Jörg Schaible wrote: > Hi Jacopo, > > Jacopo Cappellato wrote: > >> Thank you Jörg. >> >> At this point I would be happy to get karma for the sandbox (my account is >> jacopoc): of course I will be very

Re: [csv] Proposal to remove setter methods from CSVStrategy

2011-01-30 Thread Jacopo Cappellato
deally, > a selector would be passed to a factory method: > > CSVStrategy strategy = CSVStrategy.getInstance(CSVStrategy.DEFAULT_STRATEGY); > > > -Adrian > > > On 1/29/2011 8:51 PM, Jacopo Cappellato wrote: >> Hi Gary, >> >> I initially proposed

Re: [csv] Proposal to remove setter methods from CSVStrategy

2011-01-29 Thread Jacopo Cappellato
t; WDYT? HTH, that's just my opinion, >> Simo >> >> http://people.apache.org/~simonetripodi/ >> http://www.99soft.org/ >> >> >> >> On Sat, Jan 29, 2011 at 2:33 PM, Jacopo Cappellato >> wrote: >>> Thank you Stephen, >>> &g

Re: [csv] Proposal to remove setter methods from CSVStrategy

2011-01-29 Thread Jacopo Cappellato
g Spring via bean methods > rather than the constructor. > > These days, immutability and concurrency are more important, so this > change may be applicable, buts its good to understand the history and > wide use cases of classes like these. > > Stephen > > > O

Re: [csv] Fixes for commons-csv

2011-01-29 Thread Jacopo Cappellato
Thank you Jörg. At this point I would be happy to get karma for the sandbox (my account is jacopoc): of course I will be very careful about my commits and I will discuss any ideas here before. Kind regards, Jacopo On Jan 29, 2011, at 1:37 PM, Jörg Schaible wrote: > Hi Jacopo, > &g

[csv] Proposal to remove setter methods from CSVStrategy

2011-01-29 Thread Jacopo Cappellato
Hi all, in my opinion all the setter methods should be removed from the CSVStrategy class: in this way the fields will only be set using the constructors and they will become readonly. The main issue I see with the current implementation is that a calling method can modify the values of the fie

Re: [csv] Fixes for commons-csv

2011-01-28 Thread Jacopo Cappellato
tripodi/ > http://www.99soft.org/ > > > > On Fri, Jan 28, 2011 at 6:54 PM, Jacopo Cappellato > wrote: >> Hi Gary, >> >> first of all, thanks for the quick response; please see my comments inline: >> >> On Jan 28, 2011, at 5:23 PM, Gary Gregory wrote:

Re: [csv] Fixes for commons-csv

2011-01-28 Thread Jacopo Cappellato
com > Web: seagull.rocketsoftware.com > > > >> -Original Message- >> From: Jacopo Cappellato [mailto:jacopo.cappell...@gmail.com] >> Sent: Friday, January 28, 2011 11:14 >> To: dev@commons.apache.org >> Subject: [csv] Fixes for commons-csv >>

[csv] Fixes for commons-csv

2011-01-28 Thread Jacopo Cappellato
Hi all, I am a committer of the Apache OFBiz project and I am using commons-csv for a project at work. I am wondering if there are plans to maintain the common-csv package; if I will submit some patches and small enhancements will they be considered? If there is interest around this, I may also