
String season=""; pst = con.prepareStatement("SELECT DISTINCT(Season) season FROM specialdates where Regid=?");
pst.setInt(1,reg_id );
rs = pst.executeQuery();
System.out.println(pst);
while (rs.next())
{
System.out.println(rs.getString("season"));
seasons +=rs.getString("season") + ","; }
in above code seasons +=rs.getString("season") + ","; it shows bug in findbugs tool.. but it executes successfully how to solve the problem.