mbeckerle commented on a change in pull request #259: Incremental progress on 
schema compilation space/speed issue.
URL: https://github.com/apache/incubator-daffodil/pull/259#discussion_r303061419
 
 

 ##########
 File path: daffodil-core/src/main/scala/org/apache/daffodil/dsom/Term.scala
 ##########
 @@ -131,16 +131,18 @@ trait Term
     val optSimpleTypeCached = optReferredToComponent.collect { case gstd: 
GlobalSimpleTypeDef => gstd.propCache }
     val usedProperties = propCache ++ optSimpleTypeCached.getOrElse(Map.empty)
 
-    localProps.foreach { case (prop, (value, _)) =>
-      if (!usedProperties.contains(prop)) {
-        SDW(WarnID.IgnoreDFDLProperty, "DFDL property was ignored: %s=\"%s\"", 
prop, value)
-      }
+    localProps.foreach {
+      case (prop, (value, _)) =>
+        if (!usedProperties.contains(prop)) {
+          SDW(WarnID.IgnoreDFDLProperty, "DFDL property was ignored: 
%s=\"%s\"", prop, value)
+        }
 
 Review comment:
   Yes, auto format. Cannot find a way to adjust it not to do this. Basically 
case keyword starts on a new line in all cases.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to