File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
src/main/kotlin/de/gmuth/ipp/client Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,8 @@ class CupsClient(
2424 val cupsUri : URI = URI .create("ipps://localhost"),
2525 val ippClient : IppClient = IppClient ()
2626) {
27- constructor (cupsUri: URI ) : this (cupsUri, IppClient ())
27+ @JvmOverloads
28+ constructor (cupsUri: URI = URI .create(" ipps://localhost" )) : this (cupsUri, IppClient ())
2829
2930 private val logger = getLogger(javaClass.name)
3031 val config: IppConfig by ippClient::config
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ open class IppPrinter(
112112 constructor (printerUri: String , ippConfig: IppConfig ) :
113113 this (URI .create(printerUri), ippConfig = ippConfig)
114114
115- // @JvmOverloads
115+ @JvmOverloads
116116 constructor (printerUri: String , getPrinterAttributesOnInit: Boolean = true ) :
117117 this (URI .create(printerUri), getPrinterAttributesOnInit = getPrinterAttributesOnInit)
118118
You can’t perform that action at this time.
0 commit comments