gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lewismc <...@git.apache.org>
Subject [GitHub] gora pull request #131: GORA-266 Lucene datastore for Gora
Date Thu, 22 Mar 2018 22:57:54 GMT
Github user lewismc commented on a diff in the pull request:

    https://github.com/apache/gora/pull/131#discussion_r176596674
  
    --- Diff: gora-core/src/main/java/org/apache/gora/util/IOUtils.java ---
    @@ -434,7 +432,7 @@ public static void writeBoolArray(DataOutput out, boolean[] boolArray)
         WritableUtils.writeVInt(out, boolArray.length);
     
         byte b = 0;
    -    int i = 0;
    +    int i;
    --- End diff --
    
    You mean an enhanced for loop? From what I can see the variable ```i``` is used outside
of the ```for(i=0; i<boolArray.length; i++) {``` statement in line 447 at ```if(i % 8 !=
0) {```


---

Mime
View raw message