Paul Woitaschek
07/15/2019, 9:30 AMdarkmoon_uk
07/15/2019, 10:01 AMshikasd
07/16/2019, 10:08 PMpoohbar
07/17/2019, 3:01 PMIfvwm
07/18/2019, 5:05 AMJeff
07/18/2019, 8:53 AMbuild.gradle.kts
to aggregate the test reports. The issue is that one of my modules, an API module, doesn't contain tests, and I'm getting this error when I attempt to build: `Task with name 'test' not found in project ':api'.
I'm assuming I need to somehow skip that subproject, but I don't exactly know how.user
07/18/2019, 5:11 PMuser
07/18/2019, 5:48 PMIfvwm
07/19/2019, 6:30 AMIfvwm
07/19/2019, 6:31 AMMichael
07/19/2019, 5:52 PM.groupingBy { it.statusCd }
.eachCount()
I love kotlin.mathew murphy
07/19/2019, 7:45 PMval zdt = ZonedDateTime.parse("2019-07-19T14:19:05-05:00") ?: fail("Unparseable ZonedDateTime in test code")
Ifvwm
07/20/2019, 2:36 AMivanmorgillo
07/20/2019, 3:54 PMzhangmingfeng
07/20/2019, 4:02 PMrcd27
07/21/2019, 4:54 PMrcd27
07/21/2019, 4:56 PMalexsimo
07/22/2019, 9:08 AMchansek
07/22/2019, 11:47 AMKindRoacher
07/22/2019, 11:40 PMlateinit
keyword when one could just assign a null to an object and force NPE using !! operator? If lateinit
object is not initialized, it will throw exception just the way null object would throw NPE. I don't understand what's the real benefit of using lateinit
keyword beside not having perform null checks either using safe calls or double bang operators?Steve
07/22/2019, 11:44 PMSteve
07/22/2019, 11:45 PMSteve
07/22/2019, 11:45 PMKindRoacher
07/22/2019, 11:47 PMlateinit
is not safe because the compiler does not warns if the object is initialized or not. But in the case of null accepting objects, the compiler forces you to take action to prevent NPE? Pretty one sided question, but curiousjosephivie
07/22/2019, 11:49 PM!!
, as it indicates that the compiler doesn't know if it's not null, but we know that it's not null.josephivie
07/22/2019, 11:49 PMjosephivie
07/22/2019, 11:50 PMActivity
, but the first thing you do when the object gets its onCreate()
callback is set up those variables.KindRoacher
07/22/2019, 11:55 PMstreetsofboston
07/23/2019, 12:07 AM@Inject lateinit var myRepository: MyRepo
.