| Hi Davide D'Alto ! org.hibernate.ogm.dialect.spi.ModelConsumer - this interface is used in many of non-core modules, in case if we want to replace it with java.util.function.Consumer. But it’s require to replace it in all modules. Can we do it in scope of this JIRA task? org.hibernate.ogm.dialect.spi.TuplesSupplier - I suggest to replace it with java.util.function.Function<T,R> and again we have to refactor all modules where it’s used. So we’ll change contract. More “conservative” solution could be to annotate existing interfaces with java,lang.FunctionalInterface annotation and use them as it’s now. Please suggest which option we will use? |