ilya.gorbunov
12/18/2017, 3:41 AMlouiscad
12/18/2017, 1:39 PMlouiscad
12/18/2017, 3:04 PMval thisIsAByte: Byte = getValueFromMagic()
when (thisIsAByte) {
0x00.toByte() -> LOCKED
0x01.toByte() -> UNLOCKED
0x02.toByte() -> UNLOCKED_AND_AUTO_RELOCK_DISABLED
else -> throw IllegalStateException("Unexpected value for lockState: $it")
}
Hope we will soon be able to get rid of the toByte()
callsnish
12/18/2017, 3:14 PMShawn
12/18/2017, 6:09 PMprintln
would need to care about coercing Int?
to Int
iex
12/18/2017, 10:57 PMResult
doesn't know which value it contains!nyxcharon
12/19/2017, 6:41 PMshayla
12/19/2017, 6:49 PMbj0
12/19/2017, 10:05 PMIterable
without creating an array or list?kevinmost
12/19/2017, 11:49 PMval str = "Foo"
val str2 = "foo"
str.equals(str2, ignoreCase = true)
alexcouch
12/20/2017, 12:06 AMoblakr24
12/20/2017, 7:05 AMontherunvaro
12/20/2017, 9:49 AMvariable?.let{...}
or if (variable != null) {...}
?karelpeeters
12/20/2017, 10:39 AMappend
was inline? Or am I misunderstanding the issue?jstuyts-squins
12/20/2017, 12:21 PMGauthierPLM
12/20/2017, 12:50 PMmichael salmon
12/20/2017, 3:18 PMMichael Wilson
12/20/2017, 6:00 PMTachyon
12/20/2017, 6:03 PMmarkusa
12/20/2017, 7:12 PMpedroveronezi
12/20/2017, 9:01 PMxenoterracide
12/21/2017, 4:36 AMxenoterracide
12/21/2017, 7:33 AMurl = uri(System.getenv("JRS_S3_URI") ?: uri(""))
Olekss
12/21/2017, 7:44 AMelect
12/21/2017, 10:06 AMmaven { url "<https://dl.bintray.com/kotlin/kotlin-dev>" }
maven { url "<https://dl.bintray.com/kotlin/kotlin-eap>" }
The first one? The second one? I cant test, because I have already everything cached and I'd need to delete (and download again) gb of stuff (.gradle) just to tryjw
12/21/2017, 5:25 PMarrayDequeOf(this)
Shawn
12/21/2017, 5:52 PMShawn
12/21/2017, 8:06 PMorangy
bj0
12/21/2017, 10:55 PM