blob: ce4bcff4c7d6013f6ed879595ce61d952dcfdb01 [file] [log] [blame]
package com.siyeh.igtest.security;
import java.io.IOException;
import java.sql.Connection;
import java.sql.SQLException;
import java.sql.Statement;
public class JDBCExecuteQueryWithNonConstantStringInspection
{
public JDBCExecuteQueryWithNonConstantStringInspection()
{
}
public void foo() throws IOException, SQLException
{
Statement statement = null;
statement.executeQuery("foo" );
statement.executeQuery("foo" + bar());
statement.addBatch("foo" + bar());
}
private String bar() {
return "bar";
}
}