Skip to content

Commit

Permalink
Merge pull request #1966 from tpolecat/cleanup_import
Browse files Browse the repository at this point in the history
Cleanup some imports
  • Loading branch information
jatcwang authored Dec 19, 2023
2 parents 820d24e + 056dbc9 commit 3960a90
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
10 changes: 8 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import FreeGen2.*
import FreeGen2._
import sbt.dsl.LinterLevel.Ignore
import scala.annotation.nowarn
import scala.sys.process.*
import scala.sys.process._

// Library versions all in one place, for convenience and sanity.
lazy val catsVersion = "2.10.0"
Expand Down Expand Up @@ -206,6 +206,12 @@ lazy val free = project
classOf[java.sql.ResultSet]
)
},
freeGen2KleisliInterpreterImportExcludes := Set[Class[_]](
classOf[java.util.Map[_, _]],
classOf[java.sql.DriverPropertyInfo],
classOf[java.io.Writer],
classOf[java.io.OutputStream]
)
)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ import scala.concurrent.duration.FiniteDuration

// Types referenced in the JDBC API
import java.io.InputStream
import java.io.OutputStream
import java.io.Reader
import java.io.Writer
import java.lang.Class
import java.lang.String
import java.math.BigDecimal
Expand All @@ -30,7 +28,6 @@ import java.sql.Connection
import java.sql.DatabaseMetaData
import java.sql.Date
import java.sql.Driver
import java.sql.DriverPropertyInfo
import java.sql.NClob
import java.sql.ParameterMetaData
import java.sql.PreparedStatement
Expand All @@ -53,7 +50,6 @@ import java.sql.Time
import java.sql.Timestamp
import java.sql.{ Array => SqlArray }
import java.util.Calendar
import java.util.Map
import java.util.Properties
import java.util.concurrent.Executor
import java.util.logging.Logger
Expand Down

0 comments on commit 3960a90

Please sign in to comment.