Skip to content

Commit

Permalink
Assignment Branch Condition too high by codebeat #3049
Browse files Browse the repository at this point in the history
  • Loading branch information
yurake committed Feb 15, 2023
1 parent 6f1ffb0 commit 6fcd95e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public List<MsgBean> selectMsg() throws SQLException {
ResultSet rs = stmt.executeQuery(selectsql)) {
logger.log(Level.INFO, "Select SQL: {0}", selectsql);
while (rs.next()) {
MsgBean msgbean = new MsgBean(MsgUtils.stringToInt(rs.getString("id")),
MsgBean msgbean = new MsgBean(rs.getString("id"),
rs.getString("msg"), "Select");
logger.log(Level.INFO, msgbean.getFullmsg());
msglist.add(msgbean);
Expand Down

0 comments on commit 6fcd95e

Please sign in to comment.