Github user keith-turner commented on a diff in the pull request:

    https://github.com/apache/incubator-fluo/pull/837#discussion_r116249464
  
    --- Diff: 
modules/integration/src/test/java/org/apache/fluo/integration/TestUtil.java ---
    @@ -17,18 +17,26 @@
     
     import org.apache.fluo.api.client.SnapshotBase;
     import org.apache.fluo.api.client.TransactionBase;
    +import org.apache.fluo.api.data.Bytes;
     import org.apache.fluo.api.data.Column;
     
     public class TestUtil {
     
       private TestUtil() {}
     
    +  private static final Bytes ZERO = Bytes.of("0");
    +
    +  public static void increment(TransactionBase tx, Bytes row, Column col, 
int val) {
    +    int prev = 0;
    +    String prevStr = tx.get(row, col, ZERO).toString();
    --- End diff --
    
    I think its safe since its internal test code and we have full control over 
all of the code that calls it.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to