Change CloseableIterator to no longer throw IOException on close()

Bug #648740 reported by Luis Fernando Planella Gonzalez on 2010-09-27
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

CloseableIterator#close() no longer throws IOException

Changed in querydsl:
status: New → Fix Committed
Changed in querydsl:
importance: Undecided → Medium

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  Edit
Everyone can see this information.

Other bug subscribers