format/src/main/java/com/github/sadikovi/riff/IndexedRowWriter.java
/** Check if two numbers result in int overflow */
Check if two numbers result in int overflow
Check if two numbers result in int overflow
private void checkOverflow(int value1, int value2) {
    if (Integer.MAX_VALUE - value1 < value2) {
      throw new AssertionError("Overflow (" + value1 + " + " + value2 + ")");
    }
  }
private void checkOverflow ( int value1 , int value2 ) { if ( Integer . MAX_VALUE - value1 < value2 ) { throw new AssertionError ( "Overflow (" + value1 + " + " + value2 + ")" ) ; } }
Check if two numbers result in int overflow
Check if two numbers result in int overflow