mymde opened a new pull request, #1454: URL: https://github.com/apache/commons-lang/pull/1454
Fix isEnum() Method Logic: Correct the method to return true only when enumClass is not null and is actually an enum class Change implementation to: return enumClass != null && enumClass.isEnum(); Update getFirstEnum() Method: Invert the condition check to properly handle valid enum classes Should proceed with stream operations only when isEnum(enumClass) returns true -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
