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/03/23 22:44:30 UTC

[incubator-nlpcraft] branch NLPCRAFT-15 updated: CR.

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

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


The following commit(s) were added to refs/heads/NLPCRAFT-15 by this push:
     new 0da1c40  CR.
0da1c40 is described below

commit 0da1c40ff27fc8451e68213a6846fb13c4141db8
Author: Aaron Radzinzski <ar...@datalingvo.com>
AuthorDate: Mon Mar 23 15:44:13 2020 -0700

    CR.
---
 src/main/scala/org/apache/nlpcraft/common/nlp/NCNlpSentence.scala | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/main/scala/org/apache/nlpcraft/common/nlp/NCNlpSentence.scala b/src/main/scala/org/apache/nlpcraft/common/nlp/NCNlpSentence.scala
index dd517d9..b88a472 100644
--- a/src/main/scala/org/apache/nlpcraft/common/nlp/NCNlpSentence.scala
+++ b/src/main/scala/org/apache/nlpcraft/common/nlp/NCNlpSentence.scala
@@ -63,6 +63,7 @@ class NCNlpSentence(
       */
     def removeNote(note: NCNlpSentenceNote): Unit = this.foreach(_.remove(note))
 
+    //noinspection HashCodeUsesVar
     override def hashCode(): Int = {
         if (hash == null)
             hash = calcHash()