Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 82 for Whitespace (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/org/codelibs/core/beans/util/CopyOptionsUtil.java

            return new CopyOptions().excludeNull();
        }
    
        /**
         * Returns a {@link CopyOptions} that excludes properties with whitespace values from the operation.
         *
         * @return A {@link CopyOptions} that excludes properties with whitespace values from the operation.
         * @see CopyOptions#excludeWhitespace()
         */
        public static CopyOptions excludeWhitespace() {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CleanArgument.java

                // if we haven't added this arg to the buffer, and we ARE building an argument
                // buffer, then append it with a preceding space...again, not sure what else to
                // do other than collapse whitespace.
                // NOTE: The case of a trailing quote is handled by nullifying the arg buffer.
                if (!addedToBuffer) {
                    if (currentArg != null) {
                        currentArg.append(' ').append(arg);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 28 12:11:25 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/GAVUtilsTest.java

        @DisplayName("Edge Cases")
        class EdgeCases {
    
            @Test
            @DisplayName("should handle POM with only whitespace elements")
            void shouldHandlePOMWithWhitespaceElements() throws Exception {
                String pomXml = PomBuilder.create()
                        .groupId("   ") // whitespace-only groupId
                        .artifactId("test-project")
                        .version("1.0.0")
                        .build();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 17.3K bytes
    - Click Count (0)
  4. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/FixProjectHealthTask.kt

                val dependenciesIndex = lines.indexOfFirst { it.contains("dependencies {") }
    
                val whitespace = lines.drop(dependenciesIndex + 1).find { it.isNotBlank() }?.takeWhile { it.isWhitespace() } ?: ""
                lines.addAll(dependenciesIndex + 1, dependencies.map { "$whitespace$it" } + listOf(""))
                file.writeText(lines.joinToString("\n"))
            }
        }
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 03 06:57:08 GMT 2025
    - 6.2K bytes
    - Click Count (1)
  5. okhttp/src/jvmTest/kotlin/okhttp3/MultipartReaderTest.kt

        val part = parts.nextPart()!!
        assertThat(part.headers).isEqualTo(headersOf())
        assertThat(part.body.readUtf8()).isEqualTo("abcd")
    
        assertThat(parts.nextPart()).isNull()
      }
    
      @Test fun `skip whitespace after boundary`() {
        val multipart =
          """
          |--simple boundary
          |
          |abcd
          |--simple boundary--
          """.trimMargin()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed May 28 02:11:14 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/util/ParameterUtilTest.java

            // Test with whitespace around keys and values
            value = "  key1  =  value1  \n  key2=value2\n";
            paramMap = ParameterUtil.parse(value);
            assertEquals(2, paramMap.size());
            assertEquals("value1", paramMap.get("key1"));
            assertEquals("value2", paramMap.get("key2"));
    
            // Test with empty lines and mixed whitespace
            value = "key1=value1\n\n\t\nkey2=value2\n \n";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 22.8K bytes
    - Click Count (0)
  7. .pre-commit-config.yaml

            args: ['--maxkb=750']
            exclude: ^uv.lock$
          - id: check-toml
          - id: check-yaml
            args:
            - --unsafe
          - id: end-of-file-fixer
          - id: trailing-whitespace
    
      - repo: local
        hooks:
          - id: local-ruff-check
            name: ruff check
            entry: uv run ruff check --force-exclude --fix --exit-non-zero-on-fix
            require_serial: true
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Apr 03 12:06:36 GMT 2026
    - 2.6K bytes
    - Click Count (1)
  8. doc/next/3-tools.md

    ## Tools {#tools}
    
    <!-- go.dev/issue/77177 -->
    
    Response file (`@file`) parsing is now supported for the `compile`, `link`, `asm`, `cgo`, `cover`, and `pack` tools.
    The response file contains whitespace-separated arguments with support for single-quoted and double-quoted strings, escape sequences, and backslash-newline line continuation.
    The format is compatible with GCC's response file implementation to ensure interoperability with existing build systems.
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Mar 19 02:58:52 GMT 2026
    - 757 bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt

      val result = copyOf(size + 1)
      result[result.lastIndex] = value
      return result as Array<String>
    }
    
    /** Increments [startIndex] until this string is not ASCII whitespace. Stops at [endIndex]. */
    internal fun String.indexOfFirstNonAsciiWhitespace(
      startIndex: Int = 0,
      endIndex: Int = length,
    ): Int {
      for (i in startIndex until endIndex) {
        when (this[i]) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon May 05 16:01:00 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java

            assertNull(exception.getCause());
        }
    
        @Test
        public void test_constructor_withWhitespaceType() {
            // Test constructor with whitespace in type
            String type = "  Bearer Token  ";
            String message = "Whitespace in token type";
            InvalidAccessTokenException exception = new InvalidAccessTokenException(type, message);
    
            assertEquals("  Bearer Token  ", exception.getType());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10.7K bytes
    - Click Count (0)
Back to Top