Change CloseableIterator to no longer throw IOException on close()

Bug #648740 reported by Luis Fernando Planella Gonzalez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Querydsl
Fix Released
Medium
Unassigned

Bug Description

The CloseableIterator interface should be changed to no longer extend java.io.Closeable, as it's close method declares to throw java.io.IOException, which is a checked exception, and is not appropriated for database access.

The CloseableIterator should extend Iterator alone and define a close() method with no checked exceptions.

Related thread: http://source.mysema.com/forum/mvnforum/viewthread_thread,154

Revision history for this message
Timo Westkämper (timo-westkamper) wrote :

CloseableIterator#close() no longer throws IOException

Changed in querydsl:
status: New → Fix Committed
Changed in querydsl:
importance: Undecided → Medium
Revision history for this message
Timo Westkämper (timo-westkamper) wrote :

Released in 2.0.0-beta-2

Changed in querydsl:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.