@Test(expected = IndexOutOfBoundsException.class) public void convertOldPositionToNew_tooSmall() { initWithSize(2); update(2); DiffUtil.calculateDiff(mCallback).convertOldPositionToNew(-1); }
@NonNull public static DiffResult calculateDiff(@NonNull Callback cb) { return calculateDiff(cb, true); }
DiffUtil { @NonNull public static DiffResult calculateDiff(@NonNull Callback cb) { return calculateDiff(cb, true); } }
DiffUtil { @NonNull public static DiffResult calculateDiff(@NonNull Callback cb) { return calculateDiff(cb, true); } private  DiffUtil(); }
DiffUtil { @NonNull public static DiffResult calculateDiff(@NonNull Callback cb) { return calculateDiff(cb, true); } private  DiffUtil(); @NonNull static DiffResult calculateDiff(@NonNull Callback cb); @NonNull static DiffResult calculateDiff(@NonNull Callback cb, boolean detectMoves); }
DiffUtil { @NonNull public static DiffResult calculateDiff(@NonNull Callback cb) { return calculateDiff(cb, true); } private  DiffUtil(); @NonNull static DiffResult calculateDiff(@NonNull Callback cb); @NonNull static DiffResult calculateDiff(@NonNull Callback cb, boolean detectMoves);  }