Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for toPositiveLongOrNull (0.23 sec)

  1. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/concurrent/BuildServices.kt

                    property.toPositiveLongOrNull()
                        ?: throw Exception(
                            "Invalid value for system property '$IO_ACTION_TIMEOUT_SYSTEM_PROPERTY': '$property'. It must be a positive number of milliseconds."
                        )
                }
                ?: DEFAULT_IO_ACTION_TIMEOUT
        }
    
        private
        fun String.toPositiveLongOrNull() =
            toLongOrNull()?.takeIf { it > 0 }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top