You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are a number of deprecated warnings when using the examples in the README. For instance, RuleBook<Integer> is deprecated, as it getIntVal() and getDblVal(). Is there an updated set of examples somewhere, or should I simply ignore these warnings?
Also, code based on this example doesn't compile due to type incompatibilities:
public class ExampleSolution {
public static void main(String[] args) {
RuleBook homeLoanRateRuleBook = RuleBookBuilder.create(HomeLoanRateRuleBook.class).withResultType(Double.class)
.withDefaultResult(4.5)
.build();
The text was updated successfully, but these errors were encountered:
Please consider clarifying this in the docs, or do it the right way and give the interface a slightly different name. Or maybe even remove the deprecated RuleBook implementation.
There are a number of deprecated warnings when using the examples in the README. For instance,
RuleBook<Integer>
is deprecated, as itgetIntVal()
andgetDblVal()
. Is there an updated set of examples somewhere, or should I simply ignore these warnings?Also, code based on this example doesn't compile due to type incompatibilities:
The text was updated successfully, but these errors were encountered: