Category "apache-commons"

Where are ArrayUtils.insert() methods in version 3.12.0

I cannot get Spring Framework ArrayUtils.insert() methods to show in Eclipse. The pom.xml has the 3.12.0 version of org.apache.commons.lang3. I can see the met

Is Apache EventListenerSupport thread safe?

Summary The org.apache.commons.lang3.event.EventListenerSupport is used in order to fire when some class performs a certain operation and wants to inform all li

Make FileAlterationListenerAdaptor.onFileCreate() always single thread, apache.commons.io.monitor

I'm overriding the onFileCreate() method of the org.apache.commons.io.monitor.FileAlterationListener interface. The method works, but I found that sometimes it

Can't send mail using apache commons mail when smtp appender for log4j is configured

I have a working code that creates and sends an org.​apache.​commons.​mail.HtmlEmail (version 1.5), but that same code doesn't word when I hav

Why does List.of() in Java not return a typed immutable list?

The list returned by the method List.of(E... elements) in java does return an immutable list, but this is not visible at all by looking at the created list. The