g/content/groups/snapshots/
>
> Get Outlook for iOS<https://aka.ms/o0ukef>
> ____
> From: Elliotte Rusty Harold
> Sent: Wednesday, February 12, 2025 7:23:16 AM
> To: Commons Developers List
> Subject: Re: [ALL] Maven module expert
PSHOT locally
and it's not available in the central repo (and it probably isn't)
then Maven can't find it.
The retry resolution can interfere once it's not found, even if you've
since installed it. There's a flag somewhere whose exact syntax I
forget to forc
// winter
> assertEquals(10, gmtHour(fastFormat.parse("2020-07-01 12:00
> (EET)").getTime()));// summer
>
> assertEquals(11, gmtHour(fastFormat.parse("2020-01-01 12:00
> (CET)").getTime()));// winter
> assertEquals(11, gmtHour(fastFormat.parse("2020-07-01 12:00
> (CET)").getTime()));// summer
>
> assertEquals(12, gmtHour(fastFormat.parse("2020-01-01 12:00
> (WET)").getTime()));// winter
> assertEquals(12, gmtHour(fastFormat.parse("2020-07-01 12:00
> (WET)").getTime()));// summer
> }
> }
--
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
compile target, will generate better code.
>
reference?
--
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
to
> https://openjdk.org/jeps/280 (JEP 280: Indify String Concatenation) which
> was implemented in Java 9.
>
> On Sat, Dec 14, 2024, 6:26 PM Elliotte Rusty Harold
> wrote:
>
> > On Sat, Dec 14, 2024 at 3:08 PM Serw wrote:
> >
> > > Would the community sup
for that?
--
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's good and valid reason for them. If
you can't get even one committer to +1 a PR thgen it doesn't meet the
threshold for merging.
--
Elliotte Rusty Harold
elh...@ibiblio.org
-
To unsubscribe, e-mail: dev-uns
the Geronimo library, and swap apache-commons-email
> with a different email implementation library, it seems fine.
>
>
>
> Please also note if I update my network driver to the latest Intel version,
> 2.0.0-M1 doesn'
operties#getUserName()
> > * @since 3.10
> > + * @deprecated Use {@link SystemProperties#getUserName(Supplier)}.
> > */
> > +@Deprecated
> > public static String getUserName(final String defaultValue) {
> > return System.getProperty(SystemProperties.USER_NAME,
> > defaultValue);
> >
.15+10
>
> So 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
-
over time in real
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:
in GitHub:
> https://github.com/coderodde/IndexedLinkedList
>
> Does it have potential to be included in Collections?
>
> Best regards,
> rodde
--
Elliotte Rusty Harold
elh...@ibiblio.org
-
To unsubscri
s GitHub issue mentioning this](
> 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
k binary compatibility
> > >
> > > 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 not
> wasting 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
ther reasons,
> 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, in
nformation 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
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
t it's not 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
n Sat, Feb 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 optiona
plicit dependency. 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
d be 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
ght
> optional 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
ng 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
n requires a lot of work that doesn'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
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
&
etEncoder().encodeToString(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
t;
> Then, if we want to remove 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 work
uire a commons committer or perhaps 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
---
> 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
g
> > 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
>
ead of 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
is 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 R
reporting from random IT folk
who've run some security scanner without 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
since it can be
triggered 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 unsu
sed by the 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:
> >
> &
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)
er
> 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
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
ak
> binary 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/VAL
S 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
>
--
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
t; 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
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 LastModifiedFileCompa
from any of the
> subclasses. A 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
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 sit
d 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
r ByteBuffer.position(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
> conclu
d character encoding for everyone.
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 develope
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
raded 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:
>
> >
&
kage
>
> 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
t; 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: tar
at can be done to make this test 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
---
27;ve also done major 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
>
> O
released DBUtils 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
--
Elli
---
> 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
+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
> [1] https://lists.apache.org/thread/js8fccsvwbgx9x6ntpy0v0br1cbb77n9
> > > >
> > > > --------
> > > > - To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> > > > For additional comma
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...@ibiblio.org
--
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
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
> > incompatibl
mencing 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
; precision throughout 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
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
ing only.
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 ob
lt;--> 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
---
ascal case, 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 un
nitely be written for the 4 provided 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!
> >
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
ing would ensure (if possible) that
> the 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
dklltzkoqfqx4n780h4b5vwk)
>
> Gary
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.
es
> 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 c
front on
https://commons.apache.org/proper/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
27;s Guide
page at https://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
an coexist 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
, like
> the 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 m
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
--
t; modularisation 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 unsubs
ge.
Package 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 comman
. Stare
decisis 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
throwable != 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
lass 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
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.
tion is never thrown in the first 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
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
in production because 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
pr
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
s 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
ter.
I'm still 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
. 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."
--
E
ree rather than copying the current code 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.
--
f so, any ideas 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 c
92 matches
Mail list logo