예제 #1
0
 public static boolean isLast(
     SnapshotDto snapshotTested, @Nullable SnapshotDto previousLastSnapshot) {
   return previousLastSnapshot == null
       || previousLastSnapshot.getCreatedAt() < snapshotTested.getCreatedAt();
 }