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 2246a01 Update NCAsciiTable.scala
2246a01 is described below
commit 2246a01dc8b80df7bb2850daca4fc6785f78f799
Author: Aaron Radzinski <[email protected]>
AuthorDate: Sun Dec 26 16:40:18 2021 -0800
Update NCAsciiTable.scala
---
.../main/scala/org/apache/nlpcraft/internal/ascii/NCAsciiTable.scala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/nlpcraft/src/main/scala/org/apache/nlpcraft/internal/ascii/NCAsciiTable.scala
b/nlpcraft/src/main/scala/org/apache/nlpcraft/internal/ascii/NCAsciiTable.scala
index a2579b7..4d50514 100644
---
a/nlpcraft/src/main/scala/org/apache/nlpcraft/internal/ascii/NCAsciiTable.scala
+++
b/nlpcraft/src/main/scala/org/apache/nlpcraft/internal/ascii/NCAsciiTable.scala
@@ -403,7 +403,7 @@ class NCAsciiTable:
*/
private def mkString: String =
// Make sure table is not empty.
- if (hdr.isEmpty && rows.isEmpty) then return ""
+ if hdr.isEmpty && rows.isEmpty then return ""
var colsNum = -1
val isHdr = hdr.nonEmpty