This is an automated email from the ASF dual-hosted git repository. sergeykamov pushed a commit to branch NLPCRAFT-491 in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git
The following commit(s) were added to refs/heads/NLPCRAFT-491 by this push: new 23272148 Minor fixes. 23272148 is described below commit 23272148a2395705113fed96f56a291574d8adab Author: Sergey Kamov <skhdlem...@gmail.com> AuthorDate: Mon May 2 23:17:35 2022 +0300 Minor fixes. --- .../main/java/org/apache/nlpcraft/examples/pizzeria/PizzeriaOrder.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nlpcraft-examples/pizzeria/src/main/java/org/apache/nlpcraft/examples/pizzeria/PizzeriaOrder.scala b/nlpcraft-examples/pizzeria/src/main/java/org/apache/nlpcraft/examples/pizzeria/PizzeriaOrder.scala index a86dc976..709e11c4 100644 --- a/nlpcraft-examples/pizzeria/src/main/java/org/apache/nlpcraft/examples/pizzeria/PizzeriaOrder.scala +++ b/nlpcraft-examples/pizzeria/src/main/java/org/apache/nlpcraft/examples/pizzeria/PizzeriaOrder.scala @@ -89,7 +89,7 @@ class PizzeriaOrder: case None => buf += t for (p <- ps) - def setPizza[T](pred: Pizza => Boolean, notFound: => () => Unit): Unit = + def setPizza(pred: Pizza => Boolean, notFound: => () => Unit): Unit = pizzas.find(pred) match case Some(found) => if p.size.nonEmpty then found.size = p.size