You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nlpcraft.apache.org by ar...@apache.org on 2020/06/01 20:56:38 UTC

[incubator-nlpcraft] branch master updated: Code clean up.

This is an automated email from the ASF dual-hosted git repository.

aradzinski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git


The following commit(s) were added to refs/heads/master by this push:
     new 210c1cd  Code clean up.
210c1cd is described below

commit 210c1cdcf0ce84347fee37d01785c12d0d851d8e
Author: Aaron Radzinzski <ar...@datalingvo.com>
AuthorDate: Mon Jun 1 13:56:13 2020 -0700

    Code clean up.
---
 src/main/scala/org/apache/nlpcraft/examples/weather/WeatherModel.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/scala/org/apache/nlpcraft/examples/weather/WeatherModel.java b/src/main/scala/org/apache/nlpcraft/examples/weather/WeatherModel.java
index 50c256b..2b7d683 100644
--- a/src/main/scala/org/apache/nlpcraft/examples/weather/WeatherModel.java
+++ b/src/main/scala/org/apache/nlpcraft/examples/weather/WeatherModel.java
@@ -241,7 +241,7 @@ public class WeatherModel extends NCModelFileAdapter {
         @NCIntentTerm("city") Optional<NCToken> cityTokOpt,
         @NCIntentTerm("date") Optional<NCToken> dateTokOpt
     ) {
-        return onPeriodMatch(ctx, cityTokOpt, dateTokOpt,-5);
+        return onPeriodMatch(ctx, cityTokOpt, dateTokOpt, -5);
     }
 
     /**