Examples of errors detected by the V6006 diagnostic

V6006. The object was created but it is not being used. The 'throw' keyword could be missing.


Elasticsearch

V6006 The object was created but it is not being used. The 'throw' keyword could be missing. JdbcConnection.java(88)


@Override
public void setAutoCommit(boolean autoCommit) throws SQLException {
    checkOpen();
    if (!autoCommit) {
        new SQLFeatureNotSupportedException(....);
    }
}


Bugs Found

Checked Projects
381
Collected Errors
13 764