Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 4,407 for Avoid (0.05 seconds)

  1. architecture/standards/0002-avoid-using-java-serialization.md

    # ADR-0002 - Avoid using Java serialization
    
    ## Date
    
    2012-12-01
    
    ## Context
    
    In Gradle we often need to serialize in-memory objects for caching, or to transmit them across process barriers, etc.
    Java serialization is one way to implement this, however, despite its simplicity of implementation, it has several drawbacks:
    
    - **Performance:**
    Java's built-in serialization mechanism is often slower compared to other serialization solutions.
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Feb 29 22:32:18 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  2. architecture/standards/0003-avoid-introducing-Groovy-types-to-public-api.md

    # ADR-0003 - Avoid introducing Groovy types to public API
    
    ## Date
    
    2024-01-12
    
    ## Context
    
    Gradle's public API requires equal access from all JVM-based languages.
    Kotlin, Groovy, Java, and other JVM-based languages should be able to use the Gradle API without relying on another language's standard library.
    
    Historically, Gradle has shipped with some Groovy types in very prominent APIs.
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Sun Mar 10 20:38:06 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  3. guava/module.json

                "requires": "1.0.3"
              }
            },
            {
              "group": "com.google.guava",
              "module": "listenablefuture",
              "version": {
                "requires": "9999.0-empty-to-avoid-conflict-with-guava"
              }
            },
            {
              "group": "org.jspecify",
              "module": "jspecify",
              "version": {
                "requires": "${jspecify.version}"
              }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 29 19:50:42 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/curl/io/ContentOutputStream.java

         * If an error occurs during file deletion, it is logged but not thrown to avoid
         * masking exceptions from the main operation.
         *
         * @throws IOException if an I/O error occurs during stream closure
         */
        @Override
        public void close() throws IOException {
            try {
                super.close();
            } finally {
                if (!isInMemory() && !done) {
    Created: Sat Dec 20 09:13:53 GMT 2025
    - Last Modified: Thu Nov 20 13:34:13 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  5. .github/workflows/validate-codeowners.yml

          - name: GitHub CODEOWNERS Validator
            uses: mszostok/codeowners-validator@v0.7.4
            with:
              checks: "files,duppatterns,syntax"
              experimental_checks: "notowned,avoid-shadowing"
    
          # downgrading to 0.7.2 for owners check to avoid issues with token permissions check,
          # see https://github.com/mszostok/codeowners-validator/issues/224
          - name: GitHub CODEOWNERS Validator
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Nov 20 22:15:20 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/AccessResultImplTest.java

        }
    
        public void test_initWithResultDataOnly() {
            // Test init method with ResultData only
            AccessResultImpl<Long> result = new AccessResultImpl<>();
    
            ResultData resultData = new ResultData();
            resultData.setTransformerName("TestTransformer");
            resultData.setData(new byte[0]); // Set data to avoid getData() error
    
            result.init(null, resultData);
    
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Nov 13 13:29:22 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  7. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            when(mockConfig.getNetbiosScope()).thenReturn(null);
            // Configure OEM encoding to avoid NullPointerException
            when(mockConfig.getOemEncoding()).thenReturn("UTF-8");
        }
    
        @Test
        @DisplayName("Constructor with Configuration only should create empty Name instances")
        void testConstructorWithConfigOnly() {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb1/smb1/SmbSessionTest.java

        // we intercept the factory call.
        private MockedStatic<SmbTransport> smbtStatic;
    
        @BeforeEach
        void setUp() throws Exception {
            // Create a real NtlmPasswordAuthentication instance
            auth = new NtlmPasswordAuthentication("TESTDOMAIN", "testuser", "testpass");
    
            // Initialize ServerData to avoid NullPointerException
            SmbTransport.ServerData serverData = transport.new ServerData();
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/util/concurrent/LazyLogger.java

         *
         * We could use Suppliers.memoizingSupplier here, but I micro-optimized to this implementation
         * to avoid the extra class for the lambda (and maybe more for memoizingSupplier itself) and the
         * indirection.
         *
         * One thing to *avoid* is a change to make each Logger user use memoizingSupplier directly:
         * That may introduce an extra class for each lambda (currently a dozen).
         */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  10. futures/listenablefuture1/pom.xml

        "version" that omits the class to avoid conflicts with the copy in Guava
        itself. The idea is:
    
        - If users want only ListenableFuture, they depend on listenablefuture-1.0.
    
        - If users want all of Guava, they depend on guava, which, as of Guava
        27.0, depends on
        listenablefuture-9999.0-empty-to-avoid-conflict-with-guava. The 9999.0-...
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Oct 02 19:27:26 GMT 2025
    - 2.1K bytes
    - Click Count (0)
Back to Top