src/main/java/org/mvel2/compiler/AbstractParser.java
private char[] subArray(final int start, final int end) {
    if (start >= end) return new char[0];

    char[] newA = new char[end - start];
    for (int i = 0; i != newA.length; i++) {
      newA[i] = expr[i + start];
    }

    return newA;
  }
/**
   * Create a copy of an array based on a sub-range.  Works faster than System.arrayCopy() for arrays shorter than
   * 1000 elements in most cases, so the parser uses this internally.
   *
   * @param start the start offset
   * @param end   the end offset
   * @return an array
   */
Create a copy of an array based on a sub-range.  Works faster than System.arrayCopy() for arrays shorter than
1000 elements in most cases, so the parser uses this internally.

@param start the start offset
@param end   the end offset
@return an array
Create a copy of an array based on a sub - range . Works faster than System . arrayCopy () for arrays shorter than 1000 elements in most cases so the parser uses this internally . @param start the start offset @param end the end offset @return an array
private char[] subArray(final int start, final int end) {
    if (start >= end) return new char[0];
    char[] newA = new char[end - start];
    for (int i = 0; i != newA.length; i++) {
      newA[i] = expr[i + start];
    }
    return newA;
  }
private char [ ] subArray ( final int start , final int end ) { if ( start >= end ) return new char [ 0 ] ; char [ ] newA = new char [ end - start ] ; for ( int i = 0 ; i != newA . length ; i ++ ) { newA [ i ] = expr [ i + start ] ; } return newA ; }
Create a copy of an array based on a sub-range.
Create a copy of an array based on a sub - range .