]> source.dussan.org Git - sonarqube.git/commit
Improve ResultSetIterator to correctly follow Iterator specification
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Mon, 15 Dec 2014 08:35:27 +0000 (09:35 +0100)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Tue, 16 Dec 2014 14:11:18 +0000 (15:11 +0100)
commit64dfda604f7200cf61f7576bcb57f4cc69fb7c0c
tree27e9a2077ead5c6579d825245c967af2edaf253a
parent979bbd813781d2ad1b3cf30be184fd52507cfc2f
Improve ResultSetIterator to correctly follow Iterator specification

next() must throw NoSuchElementException
server/sonar-server/src/main/java/org/sonar/server/db/ResultSetIterator.java
server/sonar-server/src/test/java/org/sonar/server/db/ResultSetIteratorTest.java