Re: (commons-lang) 01/02: Deprecate SystemUtils.getUserName(String) in favor of SystemProperties.getUserName(Supplier)

2024-05-02 Thread Elliotte Rusty Harold
etUserName() > > * @since 3.10 > > + * @deprecated Use {@link SystemProperties#getUserName(Supplier)}. > > */ > > +@Deprecated > > public static String getUserName(final String defaultValue) { > > return System.getProperty(SystemProperties.USER_NAME, > > defaultValue); > > } >

Re: [ALL] GitHub is done with Java 8

2024-04-24 Thread Elliotte Rusty Harold
it looks like goodbye Java 8 on GitHub. > > Gary > > - > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org > -- Elliotte Rusty Harold elh...@ibiblio.org -

Re: [collections]

2024-04-10 Thread Elliotte Rusty Harold
l world use cases, then it should be considered for Apache Commons. However, I don't think Commons is the right place for bleeding edge research. -- Elliotte Rusty Harold elh...@ibiblio.org - To unsubscribe, e-mail: dev-unsubscr...@commons.a

Re: [collections]

2024-04-09 Thread Elliotte Rusty Harold
itHub: > https://github.com/coderodde/IndexedLinkedList > > Does it have potential to be included in Collections? > > Best regards, > rodde -- Elliotte Rusty Harold elh...@ibiblio.org - To unsubscrib

Re: [LEGACY STAT] test suite from legacy includes non-free NIST data

2024-03-26 Thread Elliotte Rusty Harold
t; https://github.com/statrs-dev/statrs/issues/195) > > Best, > -- > Orion Yeung > he / him -- Elliotte Rusty Harold elh...@ibiblio.org - To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org

Re: [VOTE] Release Apache Commons Logging 1.3.1 based on RC2

2024-03-22 Thread Elliotte Rusty Harold
t; > > > > > Older components still use Apache Clirr: > > > > > > This step is not required if the site includes a Clirr report page > > > which you then must check. > > > > > > mvn clirr:check > > > > > > Newer components use JApiCmp with the japicmp Maven Profile: > > > > > > This step is not required if the site includes a JApiCmp report page > > > which you then must check. > > > > > > mvn install -DskipTests -P japicmp japicmp:cmp > > > > > > 4) Build the package > > > > > > mvn -V clean package > > > > > > You can record the Maven and Java version produced by -V in your VOTE > > reply. > > > To gather OS information from a command line: > > > Windows: ver > > > Linux: uname -a > > > > > > 5) Build the site for a single module project > > > > > > Note: Some plugins require the components to be installed instead of > > packaged. > > > > > > mvn site > > > Check the site reports in: > > > - Windows: target\site\index.html > > > - Linux: target/site/index.html > > > > > > -the end- > > > > > > - > > > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > > > For additional commands, e-mail: dev-h...@commons.apache.org > > > > > > > > > - > > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > > For additional commands, e-mail: dev-h...@commons.apache.org > > > > -- Elliotte Rusty Harold elh...@ibiblio.org - To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org

Re: Interest in CollectionUtils feature

2024-03-20 Thread Elliotte Rusty Harold
sting your time on something that isn't considered to be in Apache > Commons Collections's scope. > I'm asking if I should create a Merge Request > > Thanks > Marco Dell'Anna -- Elliotte Rusty Harold elh...@ibiblio.org

Re: [VOTE] Release Apache Commons Logging 1.4.0 based on RC1

2024-03-17 Thread Elliotte Rusty Harold
; that's no reason to downvote a release candidate IMO. I prefer RERO to > bigger releases FWIW. > > Gary > > On Sun, Mar 17, 2024, 8:05 AM Elliotte Rusty Harold > wrote: > > > -1 > > > > There are multiple open PRs waiting for review, including apparently > &

Re: [VOTE] Release Apache Commons Logging 1.4.0 based on RC1

2024-03-17 Thread Elliotte Rusty Harold
mmand line: > Windows: ver > Linux: uname -a > > 5) Build the site for a single module project > > Note: Some plugins require the components to be installed instead of packaged. > > mvn site > Check the site reports in: > - Windows: target\site\index.html > - Linux: target/site/index.html > > -the end- > > - > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org > -- Elliotte Rusty Harold elh...@ibiblio.org - To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org

Re: commons-compress 1.26.0 optional dependency on commons-codec causes runtime failure.

2024-02-28 Thread Elliotte Rusty Harold
On Tue, Feb 27, 2024 at 1:43 PM Piotr P. Karwasz wrote: > > Hi Elliotte, > > On Tue, 27 Feb 2024 at 13:20, Elliotte Rusty Harold > wrote: > > > > On Tue, Feb 27, 2024 at 8:27 AM Piotr P. Karwasz > > wrote: > > e will not be loaded even if it is ava

Re: commons-compress 1.26.0 optional dependency on commons-codec causes runtime failure.

2024-02-27 Thread Elliotte Rusty Harold
ot a compatible upgrade, not even with a major version update. -- Elliotte Rusty Harold elh...@ibiblio.org - To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org

Re: commons-compress 1.26.0 optional dependency on commons-codec causes runtime failure.

2024-02-24 Thread Elliotte Rusty Harold
24, 2024 at 2:16 PM Elliotte Rusty Harold wrote: > > FYI optional dependency on commons-io is also breaking dependents: > > https://github.com/apache/maven-assembly-plugin/pull/187#pullrequestreview-1899505395 > > These dependencies really shouldn't be optional. > > On Th

Re: commons-compress 1.26.0 optional dependency on commons-codec causes runtime failure.

2024-02-24 Thread Elliotte Rusty Harold
ndency. But this > seems wrong IMHO. > > Should I sign up for an account and raise this as a bug in Jira? > > Thanks, > > Andy -- Elliotte Rusty Harold elh...@ibiblio.org - To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org

Re: commons-compress 1.26.0 optional dependency on commons-codec causes runtime failure.

2024-02-23 Thread Elliotte Rusty Harold
better if it didn't. -- Elliotte Rusty Harold elh...@ibiblio.org - To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org

Re: commons-compress 1.26.0 optional dependency on commons-codec causes runtime failure.

2024-02-22 Thread Elliotte Rusty Harold
al dependencies shouldn't cause runtime failures if not present. Is > this not the case? > > Obviously, I can just add commons-codec as an explicit dependency. But this > seems wrong IMHO. > > Should I sign up for an account and raise this as a

Re: [VOTE] Release Apache Commons Compress 1.26.0 based on RC1

2024-02-18 Thread Elliotte Rusty Harold
to accept a slowdown in order to ensure that all changes are reviewed by someone. On Sun, Feb 18, 2024 at 9:51 AM Gary Gregory wrote: > > On Sun, Feb 18, 2024 at 1:22 PM Elliotte Rusty Harold > wrote: > > > > Meta issue: the use of direct git commits without PRs or code revi

Re: [VOTE] Release Apache Commons Compress 1.26.0 based on RC1

2024-02-18 Thread Elliotte Rusty Harold
't belong in a constructor, like reading a file. AND 3. All arguments not passed to the builder's own constructor are optional. AND 4. Any combination and permutation of setter methods is allowed. None of those apply to a straightforward class like ZipFile

Re: [VOTE] Release Apache Commons Compress 1.26.0 based on RC1

2024-02-18 Thread Elliotte Rusty Harold
oduced by -V in your VOTE reply. > To gather OS information from a command line: > Windows: ver > Linux: uname -a > > 5) Build the site for a single module project > > Note: Some plugins require the components to be installed instead of packaged. > > mvn site > Check the s

Re: [commons-net] issue: FTP other HTTP with Proxy-Authorization fail

2024-02-12 Thread Elliotte Rusty Harold
String(auth.getBytes(charset)); > output.write(header.getBytes(charset)); > *output.write(CRLF);* > } > -- Elliotte Rusty Harold elh...@ibiblio.org - To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org

Re: [LOGGING] 2.0

2024-02-10 Thread Elliotte Rusty Harold
support for the Log4j 1 API (the JAR is > already gone at this point), that would necessitate a 2.0.0. > > Gary > > On Sat, Feb 10, 2024 at 8:53 AM Elliotte Rusty Harold > wrote: > > > > I'd like to plan and start working on a 2.0 release of commons-logging

[LOGGING] 2.0

2024-02-10 Thread Elliotte Rusty Harold
PMC member to take over. Thoughts? -- Elliotte Rusty Harold elh...@ibiblio.org - To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org

Re: [VOTE] Release Apache Commons Codec 1.16.1 based on RC1

2024-02-05 Thread Elliotte Rusty Harold
-- > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org > -- Elliotte Rusty Harold elh...@ibiblio.org - To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org

Re: [IO-842] Deprecate more or undeprecate non-Charset methods

2024-01-26 Thread Elliotte Rusty Harold
l commands, e-mail: dev-h...@commons.apache.org > > > > > --------- > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org > -- Elliotte Rusty Ha

Re: [VOTE] Release Apache Commons Exec 1.4.0 based on RC1

2024-01-01 Thread Elliotte Rusty Harold
f packaged. > > mvn site > Check the site reports in: > - Windows: target\site\index.html > - Linux: target/site/index.html > > 6) Build the site for a multi-module project > > mvn site > mvn site:stage > Check the site reports in: > - Windows: target\site\index.html > - Linux: target/site/inde

Re: [MATH][NUMBERS] Method to convert unsigned long to BigInteger

2023-12-24 Thread Elliotte Rusty Harold
s more suitable for lang than Math or Numbers. I'd also suggest a different method name. There's no such thing as an UnsignedBigInteger in Java. All BigIntegers are signed. Maybe something like toBigIntegerFromUnsigned -- Elliotte Rusty Harold elh

Re: Security model for Commons Imaging, Compress, Codec and IO: RCE and DOS?

2023-12-14 Thread Elliotte Rusty Harold
ithout really understanding what it's saying. -- Elliotte Rusty Harold elh...@ibiblio.org - To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org

Re: Security model for Commons Imaging, Compress, Codec and IO: RCE and DOS?

2023-12-14 Thread Elliotte Rusty Harold
gered by valid input without escaping the VM protections. Proper input validation protects against some but not all resource exhaustion attacks. -- Elliotte Rusty Harold elh...@ibiblio.org - To unsubscribe, e-mail: dev

Re: [VOTE] Release Apache Commons BCEL 6.8.0 based on RC1

2023-12-05 Thread Elliotte Rusty Harold
build/release plugins > to know which version to check for binary compatibility when the > default Maven goal runs the BC check and when the site report is > generated. > > Gary > > On Sun, Dec 3, 2023 at 12:13 PM Elliotte Rusty Harold > wrote: > > > > pom.xm

Re: [VOTE] Release Apache Commons BCEL 6.8.0 based on RC1

2023-12-03 Thread Elliotte Rusty Harold
mp japicmp:cmp > > 4) Build the package > > mvn -V clean package > > You can record the Maven and Java version produced by -V in your VOTE reply. > To gather OS information from a command line: > Windows: ver > Linux: uname -a > > 5) Build

Re: [VOTE] Release Apache Commons BCEL 6.8.0 based on RC1

2023-12-03 Thread Elliotte Rusty Harold
nux: uname -a > > 5) Build the site for a single module project > > Note: Some plugins require the components to be installed instead of packaged. > > mvn site > Check the site reports in: > - Windows: target\site\index.html > - Linux: target/site/index.html > > -the end- > > - > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org > -- Elliotte Rusty Harold elh...@ibiblio.org - To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org

Re: [VOTE] Release Apache Commons Validator 1.8.0 based on RC1

2023-12-03 Thread Elliotte Rusty Harold
t; On Sun, 3 Dec 2023 at 14:13, Elliotte Rusty Harold wrote: > > > > https://issues.apache.org/jira/projects/VALIDATOR/issues/VALIDATOR-390 > > and https://issues.apache.org/jira/projects/VALIDATOR/issues/VALIDATOR-357 > > are both open dependency upgrades with security impli

Re: [VOTE] Release Apache Commons Validator 1.8.0 based on RC1

2023-12-03 Thread Elliotte Rusty Harold
compatibility at that point. > > Gary > > On Sun, Dec 3, 2023 at 8:13 AM Elliotte Rusty Harold > wrote: > > > > https://issues.apache.org/jira/projects/VALIDATOR/issues/VALIDATOR-390 > > and https://issues.apache.org/jira/projects/VALIDATOR/issues/VALIDATOR-357 >

Re: [VOTE] Release Apache Commons Validator 1.8.0 based on RC1

2023-12-03 Thread Elliotte Rusty Harold
formation from a command line: > Windows: ver > Linux: uname -a > > 5) Build the site for a single module project > > Note: Some plugins require the components to be installed instead of packaged. > > mvn site > Check the site reports in: > - Windows: target\site\index.html > - Linux: target/site/index.html > > -the end- > > - > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org > -- Elliotte Rusty Harold elh...@ibiblio.org - To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org

Re: Is https://twitter.com/ApacheCommons still used?

2023-12-03 Thread Elliotte Rusty Harold
-unsubscr...@commons.apache.org > > > > For additional commands, e-mail: dev-h...@commons.apache.org > > > > > > > > > > > > > - > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org > -- Elliotte Rusty Harold elh...@ibiblio.org - To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org

Re: [IO] Suggestion for AbstractFileComparator

2023-12-03 Thread Elliotte Rusty Harold
On Sat, Dec 2, 2023 at 12:01 AM Miguel Muñoz wrote: > > @Elliotte Rusty Harold, > I'd like to make two unrelated points. > 1. I wasn't suggesting the missingFilesFirst() or missingFilesLast() methods > as a solution to the issues raised in IO-813 LastModifiedFileComparator >

Re: [IO] Suggestion for AbstractFileComparator

2023-12-01 Thread Elliotte Rusty Harold
better place might be in FileUtils, although that's in a > different package. > > > > What do you think? > > > > -- Miguel Muñoz > -- Elliotte Rusty Harold elh...@ibiblio.org - To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org

Re: [VOTE] Release Apache Commons IO 2.15.1 based on RC1

2023-11-25 Thread Elliotte Rusty Harold
t; > mvn -V clean package > > You can record the Maven and Java version produced by -V in your VOTE reply. > To gather OS information from a command line: > Windows: ver > Linux: uname -a > > 5) Build the site for a single module project > > Note: Some plugins require the components to be installed instead of packaged. > > mvn site > Che

Re: [VALIDATOR] - Release of newer version of validator without OWASP vulnerabilities

2023-11-23 Thread Elliotte Rusty Harold
cked in preference to newer versions. It is possible for a client project to override transitive dependencies, but you need to be careful. Using a BOM is one of the easier ways to manage these problems: https://jlbp.dev/JLBP-15 -- Elliotte Rusty Harold

Re: [IO] Bug in FileChannels.contentEquals?

2023-11-06 Thread Elliotte Rusty Harold
sition(0) after the read so > that the position is set back to 0 before comparing the content of the > buffers? But as stated before, I'm not an expert on this topic. I'm also > not sure whether my hypothesis is 100% accurate. But this has been my > conclusion after some experimen

Re: [ALL] parent uses commons.encoding=iso-8859-1; change to UTF-8?

2023-10-27 Thread Elliotte Rusty Harold
one. On Fri, Oct 27, 2023 at 12:50 PM Gary Gregory wrote: > > On Fri, Oct 27, 2023 at 8:43 AM Elliotte Rusty Harold > wrote: > > > > +1 > > > > Using anything other than UTF-8 is a bug. > > > > There are more Java developers on Linux and Mac these d

Re: [ALL] parent uses commons.encoding=iso-8859-1; change to UTF-8?

2023-10-27 Thread Elliotte Rusty Harold
8859-1 these days > as the default encoding. > > Thoughts? > > Sebb > > - > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org

Re: [VOTE] Release Apache Commons Text 1.11.0 based on RC1

2023-10-24 Thread Elliotte Rusty Harold
graded it to "Major". > > What's worse is that if it were a real security issue, it should have gone > through our security protocol and not a Jira (initially at least). > > Gary > > On Tue, Oct 24, 2023, 10:32 AM Elliotte Rusty Harold > wrote: > > > > > h

Re: [VOTE] Release Apache Commons Text 1.11.0 based on RC1

2023-10-24 Thread Elliotte Rusty Harold
> mvn -V clean package > > You can record the Maven and Java version produced by -V in your VOTE reply. > To gather OS information from a command line: > Windows: ver > Linux: uname -a > > 5) Build the site for a single module project > > Note: Some plugins require the components to be installed instead of packaged. > >

Re: [VOTE] Release Apache Commons IO 2.15.0 based on RC1

2023-10-21 Thread Elliotte Rusty Harold
gather OS information from a command line: > Windows: ver > Linux: uname -a > > 5) Build the site for a single module project > > Note: Some plugins require the components to be installed instead of packaged. > > mvn site > Check the site reports in: > - Windows: target\s

Re: [lang] RandomStringUtilsTest.testRandomStringUtilsHomog fails a lot

2023-10-20 Thread Elliotte Rusty Harold
st more resilient? > > TY! > Gary > > - > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org > -- Elliotte Rusty Harold elh...@ibiblio.org -

Re: [Dbutil] Java 8 -> 11

2023-10-15 Thread Elliotte Rusty Harold
r version changes without those > types of changes BUT it would be nice to be consistent. For example, to > update to Java 11 for Commons Lang without a package name change would mean > calling it 4.0 while the package stays as lang3, confusing. > > Gary > > On Sun,

Re: [Dbutil] Java 8 -> 11

2023-10-15 Thread Elliotte Rusty Harold
BUtils after a long period of inactivity. Java 21 > is also out. I plan on raising the floor for this component to Java 11 and > GitHub builds will keep testing on Java LTS 11, 17, 21. I've not seen any > Java 21 issues yet. > > Gary -- Elliotte Rusty Haro

Re: [EMAIL] Fluent interface

2023-09-29 Thread Elliotte Rusty Harold
--- > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org > -- Elliotte Rusty Harold elh...@ibiblio.org - To unsubscribe, e-mail: dev-unsubs

Re: [ANNOUNCE] Apache Commons FileUpload 2.0.0-M1

2023-09-09 Thread Elliotte Rusty Harold
+1 LGTM On Sat, Sep 9, 2023 at 11:57 AM Gary Gregory wrote: > > Maven coordinates changed because the package name changed per our > conventions. > > Gary > > On Sat, Sep 9, 2023, 7:53 AM Elliotte Rusty Harold > wrote: > > > To be clear, not just the Maven coord

Re: [ANNOUNCE] Apache Commons FileUpload 2.0.0-M1

2023-09-09 Thread Elliotte Rusty Harold
https://lists.apache.org/thread/js8fccsvwbgx9x6ntpy0v0br1cbb77n9 > > > > > > > > -------- > > > > - To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > > > > For additional commands, e-mai

Re: [Imaging] Drop Serializable

2023-09-01 Thread Elliotte Rusty Harold
On Thu, Aug 31, 2023 at 3:26 PM Gary Gregory wrote: > > Why? > I assumed it was post 1.0. If that's not the case, then sure, whatever. API compatibility is not promised yet. -- Elliotte Rusty Harold elh...@ib

Re: [Imaging] Drop Serializable

2023-08-31 Thread Elliotte Rusty Harold
This should be a major version bump. On Thu, Aug 31, 2023 at 1:26 PM Gary Gregory wrote: > > Hi All, > > I propose we drop implementating Serializable and avoid any and all > possible security issues in this area. > > Gary -- Elliotte Rusty Haro

Re: [CSV] - Contribution Support

2023-08-24 Thread Elliotte Rusty Harold
bugs safely too. That is, anything > > where anyone who looks at it would immediately say, yeah, it';s not > > doing what the docs say it does. > > > > I would stay far away from any issue that suggests changing the API > > incompatibly or requiring JDK 11+. Tha

Re: [CSV] - Contribution Support

2023-08-24 Thread Elliotte Rusty Harold
work. You could probably work on obvious bugs safely too. That is, anything where anyone who looks at it would immediately say, yeah, it';s not doing what the docs say it does. I would stay far away from any issue that suggests changing the API incompatibly or requiring JDK 11+. That's a non-starter.

Re: [commons-lang] Util function in NumberUtils to count significant figures in a numeric string

2023-08-20 Thread Elliotte Rusty Harold
the computation. I haven't ironed that out - but a > necessary intermediate step is just being able to get the sigfig count. > > Dan -- Elliotte Rusty Harold elh...@ibiblio.org - To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org

Re: [Codec] clearing input byte array vs not

2023-08-12 Thread Elliotte Rusty Harold
ted https://issues.apache.org/jira/browse/INFRA-24876 > > > > Gary > > > > On Wed, Aug 9, 2023, 6:16 PM GitLab wrote: > > > >> Unfortunately, your email message to GitLab could not be processed. > >> > >> We couldn't figure out what the

Re: [commons-text] Additional CaseUtils type functionality that can handle snake, kebab, camel, pascal, and others

2023-08-09 Thread Elliotte Rusty Harold
nly. Ditto snake case, pascal case, and any other formats. Possibly there's a reason to add additional subclasses, but the CamelCase/SnakeCase/KebabCase classes should not emit different strings depending on how they're configured. The public API should be a pure function, not an object. -- Elli

Re: [commons-text] Additional CaseUtils type functionality that can handle snake, kebab, camel, pascal, and others

2023-08-09 Thread Elliotte Rusty Harold
> camel case conversions that converts any string with no exceptions because I've done it (not in open source, unfortunately), but that might depend on the definition of the format. -- Elliotte Rusty Harold elh...@ibiblio.org -

Re: [commons-text] Additional CaseUtils type functionality that can handle snake, kebab, camel, pascal, and others

2023-08-09 Thread Elliotte Rusty Harold
, etc. Is there any external documentation of these forms we could reference? On Wed, Aug 9, 2023 at 10:21 PM Hasan Diwan wrote: > > [content inline] > > On Wed, 9 Aug 2023 at 15:08, Elliotte Rusty Harold > wrote: > > > What happens when a token contains an unpermitted

Re: [commons-text] Additional CaseUtils type functionality that can handle snake, kebab, camel, pascal, and others

2023-08-09 Thread Elliotte Rusty Harold
ovided concrete > > implementations. And... I may eat these words but... the spec should not be > > all that complex. I will take a stab at it. > > > > Thanks for the feedback! > > Any other thoughts or comments are welcome! > > > > Dan > &g

Re: [Codec] clearing input byte array vs not

2023-08-09 Thread Elliotte Rusty Harold
This makes sense to me. The existing behavior seems surprising and incorrect. Is there a reason for it? On Wed, Aug 9, 2023 at 6:53 PM Gary Gregory wrote: > > Hi all, > > Any thoughts on https://github.com/apache/commons-codec/pull/197 > > Gary -- Elliotte Rusty Harold

Re: [commons-text] Additional CaseUtils type functionality that can handle snake, kebab, camel, pascal, and others

2023-08-08 Thread Elliotte Rusty Harold
input abides by all elements of the format. > * I'm still unsure about how best to handle reserved characters when > translating. e.g. How should > KebabCase.format(PascalCase.parse("MyPascal-String")) handle the hyphen? > Should the kebab case strip the reserved character from

Re: [FileUpload] Major version 2

2023-07-21 Thread Elliotte Rusty Harold
qx4n780h4b5vwk) > > Gary > > - > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org >

Re: [pool] Another source compatibility break in 2.x

2023-07-21 Thread Elliotte Rusty Harold
does > 2) Add Implements Autocloseable to the subclasses (GOP, GKOP, ...) instead > 3) Revert the change for 2.x > Weak vote for 1b. That maintains source compatibility and the API you want and doesn't seem likely to cause problems in any situation I can think o

Re: [math] JIRA ticket for modularisation of all 14 legacy packages

2023-07-19 Thread Elliotte Rusty Harold
per/commons-math/index.html I am tempted to see about changing the title of that page in the sidebar from "Dependency Information" to "Maven Coordinates". That would help a little and it's likely commons-math is hardly the only project that has this issue. -- Elli

Re: [math] JIRA ticket for modularisation of all 14 legacy packages

2023-07-19 Thread Elliotte Rusty Harold
//commons.apache.org/proper/commons-math/ -- Elliotte Rusty Harold elh...@ibiblio.org - To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org

Re: [math] JIRA ticket for modularisation of all 14 legacy packages

2023-07-19 Thread Elliotte Rusty Harold
with the older project in a classpath. That shouldn't cause any dependency problems. -- Elliotte Rusty Harold elh...@ibiblio.org - To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h

Re: [math] JIRA ticket for modularisation of all 14 legacy packages

2023-07-19 Thread Elliotte Rusty Harold
existing ones: > commons-math-neuralnet > commons-math-transform > > On Wed, 19 Jul 2023 at 12:29, Elliotte Rusty Harold > wrote: > > > Could you be precise about what you mean by "modularisation"? It's a > > very overloaded term. Do you mean Java 9 modules a

Re: [pool] advertising unchecked exceptions

2023-07-19 Thread Elliotte Rusty Harold
Any objections? > That sounds good. This is generally best practice for runtime exceptions. Don't include them in throws clauses but do include @throws Javadoc for each one. -- Elliotte Rusty Harold elh...@ibiblio.org ---

Re: [math] JIRA ticket for modularisation of all 14 legacy packages

2023-07-19 Thread Elliotte Rusty Harold
dularisation of all 14 packages commons-math-legacy has? I think that > some of them are easy to modularise like optimisation, special and filter -- Elliotte Rusty Harold elh...@ibiblio.org - To unsubscribe

Re: Move NO algorithms from ANY projects to math libraries

2023-07-17 Thread Elliotte Rusty Harold
ackage names must not change. Group and artifact IDs must not change. Split packages are not allowed. -- Elliotte Rusty Harold elh...@ibiblio.org - To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e

Move NO algorithms from ANY projects to math libraries

2023-07-17 Thread Elliotte Rusty Harold
is as valuable a principle in API design as in law. -- Elliotte Rusty Harold elh...@ibiblio.org - To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org

Re: [commons-lang] branch master updated: [LANG-1647] Add and ExceptionUtils.isChecked() and isUnchecked() #1069

2023-07-02 Thread Elliotte Rusty Harold
able != null && throwable instanceof Exception && !(throwable instanceof RuntimeException); } -- Elliotte Rusty Harold elh...@ibiblio.org - To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org

Re: [commons-lang] branch master updated: [LANG-1647] Add and ExceptionUtils.isChecked() and isUnchecked() #1069

2023-07-02 Thread Elliotte Rusty Harold
of Throwable directly that is neither an Exception nor an Error. -- Elliotte Rusty Harold elh...@ibiblio.org - To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org

Re: [VOTE] Release Apache Commons Pool 2.12.0 based on RC1

2023-06-29 Thread Elliotte Rusty Harold
will only accept positive numbers. > However I don't understand why you now add "Error" to the mix... Because recoverability is the distinction between Exceptions and Errors. Most of the time exceptions, checked and unchecked, can be recovered from. Errors usually can't be. -- Ell

Re: [VOTE] Release Apache Commons Pool 2.12.0 based on RC1

2023-06-29 Thread Elliotte Rusty Harold
rst place, then a runtime exception is appropriate. -- Elliotte Rusty Harold elh...@ibiblio.org - To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org

Re: [VOTE] Release Apache Commons Pool 2.12.0 based on RC1

2023-06-29 Thread Elliotte Rusty Harold
On Thu, Jun 29, 2023 at 10:10 AM Gilles Sadowski wrote: > > Le jeu. 29 juin 2023 à 15:22, Elliotte Rusty Harold > a écrit : > > > > On Thu, Jun 29, 2023 at 9:07 AM Gilles Sadowski > > wrote: > > > > > > Hello. > > > > > > Le jeu. 2

Re: [VOTE] Release Apache Commons Pool 2.12.0 based on RC1

2023-06-29 Thread Elliotte Rusty Harold
e some random JSON yahoo thought checked exceptions were "icky". Lately I've been working in Python, and error handling practice in this community is abominable. The lack of checked exceptions is a large reason why Python code is expected to be unreliable and Python programs routinely dump sta

Re: [io] Possible addition of getFiles/getFileNames and Ant includes/excludes

2023-06-29 Thread Elliotte Rusty Harold
On Thu, Jun 29, 2023 at 8:12 AM Gary Gregory wrote: > > On Thu, Jun 29, 2023 at 7:20 AM Elliotte Rusty Harold > wrote: > I'm not sure what you are proposing. Adding a new filter to IO that > behaves like Ant? Adding a new filter to IO that behaves like Python? > Are Ant and

Re: [io] Possible addition of getFiles/getFileNames and Ant includes/excludes

2023-06-29 Thread Elliotte Rusty Harold
a fairly common thing to want. -- Elliotte Rusty Harold elh...@ibiblio.org - To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org

Re: [io] Possible addition of getFiles/getFileNames and Ant includes/excludes

2023-06-27 Thread Elliotte Rusty Harold
working out in my head what I think this should look like, but a single class that implements a well-understood, well-documented file filter syntax and otherwise can be plugged into existing classes like Files.walkFileTree — i.e. the Strategy pattern — is probably about as simple as

Re: [io] Possible addition of getFiles/getFileNames and Ant includes/excludes

2023-06-27 Thread Elliotte Rusty Harold
. When ** is used as the name of a directory in the pattern, it matches zero or more directories. For example: /test/** matches all files/directories under /test/, such as /test/x.java, or /test/foo/bar/xyz.html, but not /xyz.xml." -- Elliot

[io] Possible addition of getFiles/getFileNames and Ant includes/excludes

2023-06-19 Thread Elliotte Rusty Harold
that dates back to something like Java 1.2. Thoughts? Is this something the commons IO project would be willing to own? If so, I can file an issue and begin working on a PR. Thanks for the consideration. -- Elliotte Rusty Harold elh...@ibiblio.org

Commons-logging status

2020-12-14 Thread Elliotte Rusty Harold
what version number it will have and what minimum version of Java it will require? Thanks. -- Elliotte Rusty Harold elh...@ibiblio.org - To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail