<< Back to previous view

[JDBC-17] Type-hint public fns returning Connection Created: 10/Oct/11  Updated: 01/Jun/16  Resolved: 10/Oct/11

Status: Closed
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: Text File JDBC-17-a.patch    
Patch: Code


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.

Comment by Sean Corfield [ 10/Oct/11 11:21 PM ]

Patch applied. Thanx Stuart!

Generated at Sat Oct 21 12:49:54 CDT 2017 using JIRA 4.4#649-r158309.