[JDBC-17] Type-hint public fns returning Connection Created: 10/Oct/11 Updated: 10/Oct/11 Resolved: 10/Oct/11 |
|
| Status: | Resolved |
| Project: | java.jdbc |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Enhancement | Priority: | Minor |
| Reporter: | Stuart Sierra | Assignee: | Sean Corfield |
| Resolution: | Completed | Votes: | 0 |
| Labels: | None | ||
| Attachments: |
|
| Patch: | Code |
| Description |
|
clojure.java.jdbc/connection and find-connection both return a java.sql.Connection but are not type-hinted. There is a type hint on clojure.java.jdbc.internal/connection*, but it does not carry through to the public Var. Tagging these functions eliminates 9 reflection warnings in a project I have. |
| Comments |
| Comment by Sean Corfield [ 10/Oct/11 11:21 PM ] |
|
Patch applied. Thanx Stuart! |