Fix warning message
diff --git a/nlpcraft/src/main/scala/org/apache/nlpcraft/probe/mgrs/deploy/NCDeployManager.scala b/nlpcraft/src/main/scala/org/apache/nlpcraft/probe/mgrs/deploy/NCDeployManager.scala
index 8e7f0b7..787fb38 100644
--- a/nlpcraft/src/main/scala/org/apache/nlpcraft/probe/mgrs/deploy/NCDeployManager.scala
+++ b/nlpcraft/src/main/scala/org/apache/nlpcraft/probe/mgrs/deploy/NCDeployManager.scala
@@ -1476,7 +1476,7 @@
if (smpAnns.nonEmpty) {
if (intAnn == null && refAnn == null) {
- logger.warn(s"`@NCTestSample annotation without corresponding @NCIntent or @NCIntentRef annotations [" +
+ logger.warn(s"`@${CLS_SAMPLE.getSimpleName} annotation without corresponding @NCIntent or @NCIntentRef annotations [" +
s"mdlId=$mdlId, " +
s"callback=$mkMethodName" +
s"]")
@@ -1487,7 +1487,7 @@
val samples = smpAnns.toSeq.map(_.value().toSeq)
if (samples.exists(_.isEmpty)) {
- logger.warn(s"@NCTestSample annotation is empty [" +
+ logger.warn(s"@${CLS_SAMPLE.getSimpleName} annotation is empty [" +
s"mdlId=$mdlId, " +
s"callback=$mkMethodName" +
s"]")
@@ -1495,7 +1495,7 @@
None
}
else if (U.containsDups(samples.flatten.toList)) {
- logger.warn(s"@NCTestSample annotation has duplicates [" +
+ logger.warn(s"@${CLS_SAMPLE.getSimpleName} annotation has duplicates [" +
s"mdlId=$mdlId, " +
s"callback=$mkMethodName, " +
s"dups=${U.getDups(samples).mkString("'", ", ", "'")}" +
@@ -1510,7 +1510,7 @@
}
}
else {
- logger.warn(s"@NCTestSample annotation is missing [" +
+ logger.warn(s"@${CLS_SAMPLE.getSimpleName} annotation is missing [" +
s"mdlId=$mdlId, " +
s"callback=$mkMethodName" +
s"]")