samoa-api/src/main/java/org/apache/samoa/moa/core/DoubleVector.java [165:173]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  protected void setArrayLength(int l) {
    double[] newArray = new double[l];
    int numToCopy = this.array.length;
    if (numToCopy > l) {
      numToCopy = l;
    }
    System.arraycopy(this.array, 0, newArray, 0, numToCopy);
    this.array = newArray;
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



samoa-instances/src/main/java/org/apache/samoa/instances/MultiLabelPrediction.java [170:178]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    protected void setArrayLength(int l) {
      double[] newArray = new double[l];
      int numToCopy = this.array.length;
      if (numToCopy > l) {
        numToCopy = l;
      }
      System.arraycopy(this.array, 0, newArray, 0, numToCopy);
      this.array = newArray;
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



