Thanks for Justin's careful guidance. I have raised a pr https://github.com/apache/gravitino/pull/7090 to fix these issues. If you have time, you. can take a look.
Justin Mclean <jus...@classsoftware.com> 于2025年4月28日周一 14:26写道: > Hi, > > > Hi Justin, This Either class was adapted from > https://stackoverflow.com/questions/77461582/how-to-solve-a-java-generics-issue-at-runtime-for-an-either-converge-method. > Do I need to include the corresponding license? > > That’s unfortunate, as code from Stack Overflow is not allowed to be > included in ASF projects [1]. So there are possibly two options going > forward here: > 1. Contact the author of the code and ask for their permission to use it. > However, given teh similarity with [2], it may not have been their code in > the first place? > 2. Replace it with something else e.g. [2] Note that the LICENSE file will > need to be updated and the ASF header removed. > > Has any other code been copied from Stack Overflow that is in the 0.9.0 > release? > > Kind Regards, > Justin > > 1. https://www.apache.org/legal/resolved.html#stackoverflow > 2. > https://github.com/aws/aws-sdk-java-v2/blob/master/utils/src/main/java/software/amazon/awssdk/utils/Either.java