// Path: src/main/java/se/bjurr/gitchangelog/internal/util/Preconditions.java
// public static <T> T checkNotNull(final T it, final String string) {
//   if (it == null) {
//     throw new IllegalStateException(string);
//   }
//   return it;
// }


import static se.bjurr.gitchangelog.internal.util.Preconditions.checkNotNull;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;
      }
    }
    return toReturn;
  }

  static String toMessageTitle(final String message) {
    final List<String> stringList = toNoEmptyStringsList(message);
    if (stringList.size() > 0) {
      return stringList.get(0).trim();
    }
    return "";
  }

  private final String authorEmailAddress;
  private final String authorName;
  private final String commitTime;
  private final Long commitTimeLong;
  private final String hash;
  private final String hashFull;
  private final Boolean merge;
  private final String message;

  public Commit(
      final String authorName,
      final String authorEmailAddress,
      final String commitTime,
      final Long commitTimeLong,
      final String message,
      final String hash,
      final Boolean merge) {
// Path: src/main/java/se/bjurr/gitchangelog/internal/util/Preconditions.java
// public static <T> T checkNotNull(final T it, final String string) {
//   if (it == null) {
//     throw new IllegalStateException(string);
//   }
//   return it;
// }


// Path: src/main/java/se/bjurr/gitchangelog/api/model/Commit.java
import static se.bjurr.gitchangelog.internal.util.Preconditions.checkNotNull;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;

      }
    }
    return toReturn;
  }

  static String toMessageTitle(final String message) {
    final List<String> stringList = toNoEmptyStringsList(message);
    if (stringList.size() > 0) {
      return stringList.get(0).trim();
    }
    return "";
  }

  private final String authorEmailAddress;
  private final String authorName;
  private final String commitTime;
  private final Long commitTimeLong;
  private final String hash;
  private final String hashFull;
  private final Boolean merge;
  private final String message;

  public Commit(
      final String authorName,
      final String authorEmailAddress,
      final String commitTime,
      final Long commitTimeLong,
      final String message,
      final String hash,
      final Boolean merge) {
    this.authorName = checkNotNull(authorName, "authorName");