Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for isNotEmpty (0.11 sec)

  1. src/test/java/org/codelibs/core/collection/CollectionsUtilTest.java

        }
    
        /**
         * Test method for
         * {@link org.codelibs.core.collection.CollectionsUtil#isNotEmpty(java.util.Collection)}
         * .
         */
        @Test
        public void testIsNotEmptyCollectionOfQ() {
            final Collection<String> c = new ArrayList<String>();
            c.add("hoge");
            assertThat(CollectionsUtil.isNotEmpty(c), is(true));
        }
    
        /**
         * Test method for
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. .teamcity/src/main/kotlin/configurations/PerformanceTestsPass.kt

                val dependencyBuildIds = performanceTestProject.performanceTests
                    .filter { it.testProjects.isNotEmpty() }
                    .joinToString(",") { "%dep.${it.id}.env.BUILD_ID%" }
    
                val dependencyBaselines = performanceTestProject.performanceTests.first { it.testProjects.isNotEmpty() }.let { "%dep.${it.id}.performance.baselines%" }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Sep 10 13:15:00 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/SessionReuseTest.kt

            // https://github.com/google/conscrypt/issues/985
            // assertThat(directSessionIds).containsExactlyInAnyOrder(sessionIds[0], sessionIds[1])
          } else {
            assertThat(sessionIds[0]).isNotEmpty()
            assertThat(sessionIds[1]).isNotEmpty()
    
            assertThat(directSessionIds).containsExactlyInAnyOrder(sessionIds[1])
          }
        } else {
          if (tlsVersion == TlsVersion.TLS_1_3) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/-RequestCommon.kt

    fun Request.Builder.commonMethod(
      method: String,
      body: RequestBody?,
    ): Request.Builder =
      apply {
        require(method.isNotEmpty()) {
          "method.isEmpty() == true"
        }
        if (body == null) {
          require(!HttpMethod.requiresRequestBody(method)) {
            "method $method must have a request body."
          }
        } else {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. okhttp-android/src/androidTest/kotlin/okhttp3/android/AndroidAsyncDnsTest.kt

    import androidx.test.platform.app.InstrumentationRegistry
    import assertk.assertThat
    import assertk.assertions.hasMessage
    import assertk.assertions.isEmpty
    import assertk.assertions.isEqualTo
    import assertk.assertions.isNotEmpty
    import assertk.assertions.isNull
    import assertk.fail
    import java.net.InetAddress
    import java.net.UnknownHostException
    import java.util.concurrent.CountDownLatch
    import mockwebserver3.MockResponse
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/AlphabeticalAcceptedApiChangesTask.kt

            }
    
            val mismatches = originalChanges.mapValues {
                findMismatches(it.value, sortedChanges[it.key]!!)
            }.filterValues {
                it.isNotEmpty()
            }
    
            if (mismatches.isNotEmpty()) {
                val formattedMismatches = mismatches.mapValues { mismatch ->
                    mismatch.value.joinToString(separator = "\n", transform = { "\t" + it })
                }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. container-tests/src/test/java/okhttp3/containers/BasicLoomTest.kt

     * limitations under the License.
     */
    package okhttp3.containers
    
    import assertk.assertThat
    import assertk.assertions.contains
    import assertk.assertions.isEmpty
    import assertk.assertions.isNotEmpty
    import java.io.ByteArrayOutputStream
    import java.io.PrintStream
    import java.util.concurrent.ExecutorService
    import java.util.concurrent.Executors
    import okhttp3.Dispatcher
    import okhttp3.HttpUrl.Companion.toHttpUrl
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 11:15:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PasswordBasedExtractor.java

                final String resourceName = params != null ? params.get(ExtractData.RESOURCE_NAME_KEY) : null;
    
                String value = null;
                if (StringUtil.isNotEmpty(url)) {
                    value = url;
                } else if (StringUtil.isNotEmpty(resourceName)) {
                    value = resourceName;
                }
    
                if (value != null) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt

            }
    
            in 8..9 -> {
              id = source.readUtf8LineStrict().takeIf { it.isNotEmpty() }
            }
    
            in 10..12 -> {
              id = null // 'id' on a line of its own.
            }
    
            in 13..14 -> {
              type = source.readUtf8LineStrict().takeIf { it.isNotEmpty() }
            }
    
            in 15..17 -> {
              type = null // 'event' on a line of its own
            }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/ClassGraph.kt

    ) {
    
        private
        val classes: MutableMap<String, ClassDetails> = linkedMapOf()
    
        val entryPoints: MutableSet<ClassDetails> = linkedSetOf()
    
        val shadowPackagePrefix =
            shadowPackage.takeIf(String::isNotEmpty)
                ?.let { it.replace('.', '/') + "/" }
                ?: ""
    
        operator fun get(className: String) =
            classes.computeIfAbsent(className) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 2.6K bytes
    - Viewed (0)
Back to top