mbeckerle commented on a change in pull request #539:
URL: https://github.com/apache/daffodil/pull/539#discussion_r620378714



##########
File path: 
daffodil-runtime1/src/main/scala/org/apache/daffodil/layers/LayerTransformer.scala
##########
@@ -216,7 +216,7 @@ class JavaIOInputStream(s: InputSourceDataInputStream, 
finfo: FormatInfo)
     }
   }
 
-  override def available(): Int = 1
+  override def available(): Int = 0

Review comment:
       It works as 1, it works as 0. I changed it to zero because I have no 
possible rationale why it would always be 1. 
   The default behavior for available method, provided by java.io.InputStream 
is to always return 0. 




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


Reply via email to