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

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


The following commit(s) were added to refs/heads/NLPCRAFT-296 by this push:
     new 2fb931c  Update NCUtils.scala
2fb931c is described below

commit 2fb931c8b0d967e0e03b09ee76f741c602298157
Author: Aaron Radzinzski <[email protected]>
AuthorDate: Sun May 30 20:30:45 2021 -0700

    Update NCUtils.scala
---
 nlpcraft/src/main/scala/org/apache/nlpcraft/common/util/NCUtils.scala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/nlpcraft/src/main/scala/org/apache/nlpcraft/common/util/NCUtils.scala 
b/nlpcraft/src/main/scala/org/apache/nlpcraft/common/util/NCUtils.scala
index c698e10..94b2470 100644
--- a/nlpcraft/src/main/scala/org/apache/nlpcraft/common/util/NCUtils.scala
+++ b/nlpcraft/src/main/scala/org/apache/nlpcraft/common/util/NCUtils.scala
@@ -584,7 +584,7 @@ object NCUtils extends LazyLogging {
       * @return
       */
     def decapitalize(s: String): String =
-        s.head.toLower + s.tail
+        s"${s.head.toLower}${s.tail}"
 
     /**
       * Converts given name into properly capitalized first and last name.

Reply via email to