[Demonstration 1]

[Buggy Method]
private boolean notEnd() {
    return -1 != docBytes[cursor];
}

[Buggy Hunk]
return -1 != docBytes[cursor];

[Patch]
return cursor != indexOfEOF;

[Demonstration 2]

[Buggy Method]
@Override
public Instant getResult(CallableStatement cs, int columnIndex) throws SQLException {
    return cs.getTimestamp(columnIndex).toInstant();
}

[Buggy Hunk]
return cs.getTimestamp(columnIndex).toInstant();

[Patch]
return Instant.ofEpochMilli(cs.getLong(columnIndex));

[Demonstration 3]

[Buggy Method]
private static boolean isEqual(@Nullable CharSequence s, @NotNull CharSequence cs) {
    if (s == null)
        return false;
    if (s.length() != cs.length())
        return false;
    for (int i = 0; i < cs.length(); i++) if (s.charAt(i) != cs.charAt(i))
        return false;
    return true;
}

[Buggy Hunk]
private static boolean isEqual(@Nullable CharSequence s, @NotNull CharSequence cs) {

[Patch]
public static boolean isEqual(@Nullable CharSequence s, @NotNull CharSequence cs) {