stevedlawrence 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_r301571409
 
 

 ##########
 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:
   Was this made by an auto formatter? I personally prefer the original.

----------------------------------------------------------------
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