Deprecate unused methods in conreactor.

This commit is contained in:
Fedor Isakov 2019-01-02 18:24:01 +01:00
parent 63da3a7a6c
commit 32601dc96a
1 changed files with 8 additions and 0 deletions

View File

@ -59,10 +59,18 @@ public abstract class SessionSolver implements Queryable, Instructible {
handler.tell(invocation);
}
/**
* @deprecated FIXME unused, delete this method
*/
@Deprecated
public boolean ask(Predicate predicate, LogicalContext logicalContext) {
return ask(EvaluationSession.current().invocation(predicate, logicalContext));
}
/**
* @deprecated FIXME unused, delete this method
*/
@Deprecated
public void tell(AndItem item, LogicalContext logicalContext) {
if (item instanceof Predicate) {
tell(EvaluationSession.current().invocation((Predicate) item, logicalContext));