We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b60c24 commit f64f4bbCopy full SHA for f64f4bb
src/main/kotlin/de/gmuth/ipp/client/IppPrinter.kt
@@ -193,7 +193,7 @@ open class IppPrinter(
193
val geoLocation: Pair<Double, Double> // Coordinates
194
get() = attributes.getValue<URI>("printer-geo-location")
195
.schemeSpecificPart.split(",")
196
- .run { Pair(get(0).toDouble(), get(1).toDouble()) }
+ .run { Pair(this[0].toDouble(), this[1].toDouble()) }
197
198
val alert: List<String>? // PWG 5100.9
199
get() = attributes.getValuesOrNull("printer-alert")
0 commit comments