avro-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [avro] emkornfield commented on a change in pull request #973: AVRO-2952: AvroDatatype
Date Wed, 03 Mar 2021 05:23:43 GMT

emkornfield commented on a change in pull request #973:
URL: https://github.com/apache/avro/pull/973#discussion_r586118999



##########
File path: lang/java/avro/src/main/java/org/apache/avro/file/DataFileReader.java
##########
@@ -58,7 +58,7 @@
     // read magic header
     byte[] magic = new byte[MAGIC.length];
     in.seek(0);
-    for (int c = 0; c < magic.length; c += in.read(magic, c, magic.length - c)) {
+    for (int c = 0; c < magic.length; c = in.read(magic, c, magic.length - c)) {

Review comment:
       is this change intended?  




----------------------------------------------------------------
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:
users@infra.apache.org



Mime
View raw message