I really think we shall have a common template for Enums
XenoAmess
From: Gary Gregory
Sent: Monday, April 27, 2020 8:50:22 AM
To: Commons Developers List
Subject: [configuration]
org.apache.commons.configuration2.ImmutableConfiguration.getEnum()?
Hi All:
I'd
Just submitted a PR to increase the coverage in the streams package.
While prepping the PR I noticed the Travis Mac build is testing
against LibreSSL, which doesn't successfully load the native libraries
to support JNI:
[WARNING] Tests run: 139, Failures: 0, Errors: 0, Skipped: 42
Note the 42
Hi All:
I'd like to have a way to get an enum instance out of
a org.apache.commons.configuration2.ImmutableConfiguration.
I'm surprised there is nothing like a getEnum(...). Any thoughts about
adding:
default > T getEnum(String key, Class enumType) {
return Enum.valueOf(enumType,