Skip to content

Commit

Permalink
fix if to while
Browse files Browse the repository at this point in the history
  • Loading branch information
SAM2O2O committed Jun 27, 2018
1 parent 2e26251 commit 2c9fd6a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ public List<String> queryUserTokens(String siteUserId) throws SQLException {
pst.setString(1, siteUserId);

rs = pst.executeQuery();
if (rs.next()) {
while (rs.next()) {
String userToken = rs.getString(1);
if (StringUtils.isNotEmpty(userToken)) {
userTokens.add(userToken);
Expand Down

0 comments on commit 2c9fd6a

Please sign in to comment.