<commit_before>package org.ambraproject.rhino.model.ingest;

import org.ambraproject.rhino.model.article.ArticleCustomMetadata;
import org.ambraproject.rhino.model.article.ArticleMetadata;

public class IngestPackage {
  ArticlePackage articlePackage;
  ArticleMetadata articleMetadata;
  ArticleCustomMetadata articleCustomMetadata;

  public IngestPackage(ArticlePackage articlePackage, ArticleMetadata articleMetadata,
                       ArticleCustomMetadata customMetadata) {
    this.articlePackage = articlePackage;
    this.articleMetadata = articleMetadata;
    this.articleCustomMetadata = customMetadata;
  }

  public ArticlePackage getArticlePackage() {
    return articlePackage;
  }

  public ArticleMetadata getArticleMetadata() {
    return articleMetadata;
  }

  public ArticleCustomMetadata getArticleCustomMetadata() {
    return articleCustomMetadata;
  }
}
<commit_msg>DPRO-3117: code review changes<commit_after>package org.ambraproject.rhino.model.ingest;

import org.ambraproject.rhino.model.article.ArticleCustomMetadata;
import org.ambraproject.rhino.model.article.ArticleMetadata;

import java.util.Objects;

public class IngestPackage {
  private final ArticlePackage articlePackage;
  private final ArticleMetadata articleMetadata;
  private final ArticleCustomMetadata articleCustomMetadata;

  public IngestPackage(ArticlePackage articlePackage, ArticleMetadata articleMetadata,
                       ArticleCustomMetadata customMetadata) {
    this.articlePackage = Objects.requireNonNull(articlePackage);
    this.articleMetadata = Objects.requireNonNull(articleMetadata);
    this.articleCustomMetadata = Objects.requireNonNull(customMetadata);
  }

  public ArticlePackage getArticlePackage() {
    return articlePackage;
  }

  public ArticleMetadata getArticleMetadata() {
    return articleMetadata;
  }

  public ArticleCustomMetadata getArticleCustomMetadata() {
    return articleCustomMetadata;
  }
}

{'fraction_non_alphanumeric': 0.06358974358974359, 'fraction_numerical': 0.0020512820512820513, 'mean_word_length': 5.193650793650794, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7392518', 'n_tokens_mistral': 502, 'n_tokens_neox': 471, 'n_words': 97}