stevedlawrence commented on code in PR #40:
URL: https://github.com/apache/daffodil-sbt/pull/40#discussion_r1670708224


##########
src/main/scala/org/apache/daffodil/DaffodilSaver.scala:
##########
@@ -40,8 +40,16 @@ object DaffodilSaver {
    */
   def main(args: Array[String]): Unit = {
 
-    if (args.length != 4) System.err.println(s"[error] four arguments are 
required")
+    if (args.length != 4) {
+      System.err.println(s"four arguments are required")

Review Comment:
   Turns out scala has built-in assert functions: 
https://scala-lang.org/api/2.12.19/scala/Predef$.html. I've updated to use that.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to