JDO : Unnecessary IOException on JDOQLQuery.close()

Bug #634764 reported by Hannu Leinonen on 2010-09-10
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Querydsl
Fix Released
Medium
Unassigned

Bug Description

The JDOQLQuery is declaring an IOException in its close method, though IOE is never thrown on the implementation. I understand this is due the design flaw in Java's Closeable, but using a similar interface without IOE would make it less cumbersome to use. I'm not sure if switching away from Closeable would affect the usability once/if JDK7 is out with automatic resource management.

summary: - Unnecessary checked IOException on JDOQLQuery.close()
+ Unnecessary IOException on JDOQLQuery.close()

Thanks for the bug report. Fixed in SVN trunk.

Changed in querydsl:
status: New → Fix Committed
Changed in querydsl:
importance: Undecided → Medium
summary: - Unnecessary IOException on JDOQLQuery.close()
+ JDO : Unnecessary IOException on JDOQLQuery.close()

Released in 1.9.7

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