Issue Description
In sentinel-core moudle, there are many functional interfaces, such as Function
, Consumer
, BiConsumer
, etc. they are all copied JDK8. I guess these functional interfaces were created because sentinel used a JDK version lower than 8, but we wanted to use functional interfaces. But now, sentinel depends on the JDK version. The minimum requirement is 8. Therefore, we can delete these interfaces and use the interfaces provided by JDK.
2条答案
按热度按时间nbnkbykc1#
@sczyh30 bro, if you agree with me, can I mention a PR to delete these interfaces?
t0ybt7op2#
Contributions are welcomed.