src/main/java/org/opensearch/ad/transport/AnomalyResultResponse.java [150:172]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        if (in.readBoolean()) {
            this.pastValues = in.readDoubleArray();
        } else {
            this.pastValues = null;
        }

        if (in.readBoolean()) {
            int numberofExpectedVals = in.readVInt();
            this.expectedValuesList = new double[numberofExpectedVals][];
            for (int i = 0; i < numberofExpectedVals; i++) {
                expectedValuesList[i] = in.readDoubleArray();
            }
        } else {
            this.expectedValuesList = null;
        }

        if (in.readBoolean()) {
            this.likelihoodOfValues = in.readDoubleArray();
        } else {
            this.likelihoodOfValues = null;
        }

        this.threshold = in.readOptionalDouble();
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



src/main/java/org/opensearch/ad/transport/RCFResultResponse.java [89:111]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            if (in.readBoolean()) {
                this.pastValues = in.readDoubleArray();
            } else {
                this.pastValues = null;
            }

            if (in.readBoolean()) {
                int numberofExpectedVals = in.readVInt();
                this.expectedValuesList = new double[numberofExpectedVals][];
                for (int i = 0; i < numberofExpectedVals; i++) {
                    expectedValuesList[i] = in.readDoubleArray();
                }
            } else {
                this.expectedValuesList = null;
            }

            if (in.readBoolean()) {
                this.likelihoodOfValues = in.readDoubleArray();
            } else {
                this.likelihoodOfValues = null;
            }

            this.threshold = in.readOptionalDouble();
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



