Skip to content

Commit

Permalink
Stop doing rows math, it's just a status!
Browse files Browse the repository at this point in the history
  • Loading branch information
forus committed Jul 11, 2024
1 parent 2bbe3c5 commit bc76d3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/mskcc/cbio/portal/dao/DaoSampleList.java
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public int addSampleList(SampleList sampleList) throws DaoException {
try (ResultSet generatedKey = pstmt.getGeneratedKeys()) {
if (generatedKey.next()) {
int listId = generatedKey.getInt(1);
rows += addSampleListList(sampleList.getCancerStudyId(), listId, sampleList.getSampleList(), con);
addSampleListList(sampleList.getCancerStudyId(), listId, sampleList.getSampleList(), con);
} else {
throw new DaoException("Creating sample list failed, no ID obtained.");
}
Expand Down

0 comments on commit bc76d3b

Please sign in to comment.