[cli] Repeated substring problem

2023-05-09 Thread luo zongle
The commons cli project has repeatedly used substring here. Can I simplify it to one Similar to the following static String stripLeadingAndTrailingQuotes(String str) { final int length = str.length(); String tmp; if (length > 1 && str.startsWith("\"") && str.endsWith("\"") && (tmp =

[IMAGING] Logging vs Throwing exceptions

2023-05-09 Thread Gary D. Gregory
Hi All, The method org.apache.commons.imaging.icc.IccProfileParser.getICCProfileInfo(ByteSource) looks like: public IccProfileInfo getICCProfileInfo(final ByteSource byteSource) { // TODO Throw instead of logging? final IccProfileInfo result; try (InputStream is = by

Call for Presentations, Community Over Code 2023

2023-05-09 Thread Rich Bowen
(Note: You are receiving this because you are subscribed to the dev@ list for one or more Apache Software Foundation projects.) The Call for Presentations (CFP) for Community Over Code (formerly Apachecon) 2023 is open at https://communityovercode.org/call-for-presentations/, and will close Thu, 1

Re: [VOTE] Release Apache Commons Daemon 1.3.4 based on RC1

2023-05-09 Thread Mark Thomas
On 05/05/2023 11:27, Mark Thomas wrote: Please review the release candidate and vote. This vote will close no sooner than 72 hours from now.   [X] +1 Release these artifacts   [ ] +0 OK, but...   [ ] -0 OK, but really should fix...   [ ] -1 I oppose this release because... Mark --

Re: [VOTE] Release Apache Commons Daemon 1.3.4 based on RC1

2023-05-09 Thread Gary Gregory
Can we get more PMC reviews please? Gary On Fri, May 5, 2023, 06:27 Mark Thomas wrote: > We have fixed a few bugs since Apache Commons Daemon 1.3.3 was released, > so I would like to release Apache Commons Daemon 1.3.4. > > Apache Commons Daemon 1.3.4 RC1 is available for review here: > ht