Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3151 - 3160 of 4,322 for nulls (0.02 sec)

  1. src/test/java/jcifs/smb1/smb1/DosFileFilterTest.java

            assertTrue(customFilter.accept(file), "Wildcard should be ignored in accept");
        }
    
        @Test
        public void testAcceptHandlesNullFile() {
            assertThrows(NullPointerException.class, () -> filter.accept(null));
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/toolchain/Toolchain.java

         */
        String getType();
    
        /**
         * Gets the platform tool executable.
         *
         * @param toolName the tool platform independent tool name.
         * @return file representing the tool executable, or null if the tool can not be found
         */
        String findTool(String toolName);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Feb 12 13:13:28 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainFactory.java

         **/
        ToolchainPrivate createToolchain(ToolchainModel model) throws MisconfiguredToolchainException;
    
        /**
         * Returns the default instance of the particular type of toolchain, can return <code>null</code>
         * if not applicable.
         * TODO keep around??
         **/
        ToolchainPrivate createDefaultToolchain();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Feb 12 13:13:28 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/cisupport/TeamcityCIDetector.java

        private static final String TEAMCITY_VERSION = "TEAMCITY_VERSION";
    
        @Override
        public Optional<CIInfo> detectCI() {
            String ciEnv = System.getenv(TEAMCITY_VERSION);
            if (ciEnv != null && !ciEnv.trim().isEmpty()) {
                return Optional.of(new CIInfo() {
                    @Override
                    public String name() {
                        return NAME;
                    }
                });
            }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Apr 13 18:50:07 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/project/RepositorySessionDecorator.java

     *
     * <strong>Note:</strong> This interface is part of work in progress and can be changed or removed without notice.
     * @since 3.2.4
     */
    public interface RepositorySessionDecorator {
        /**
         * Returns possibly {@code null} Aether repository system session to be used to resolve project dependencies.
         */
        RepositorySystemSession decorate(MavenProject project, RepositorySystemSession session);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/PluginPrefixResolverStub.java

                @Override
                public String getArtifactId() {
                    return "bazbaz";
                }
    
                @Override
                public ArtifactRepository getRepository() {
                    return null;
                }
            };
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/IncubatingMissingRule.java

                if (!isIncubating((JApiHasAnnotations) member) && !isInject((JApiHasAnnotations) member)) {
                    return violationError(member);
                }
            }
            return null;
        }
    
        private Violation violationError(JApiCompatibility member) {
            return acceptOrReject(member, Violation.error(member, "Is not annotated with @Incubating"));
        }
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        WeakReference<Object> ref = new WeakReference<>(null);
        int expectedComputations = 0;
        for (int i = 0; i < iterations; i++) {
          // The entry should get garbage collected and recomputed.
          Object oldValue = ref.get();
          if (oldValue == null) {
            expectedComputations++;
          }
          ref = new WeakReference<>(cache.getUnchecked(1));
          oldValue = null;
          Thread.sleep(i);
          System.gc();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 91.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/persistent/HandleGuidTest.java

            assertEquals(guid1, guid2);
            assertEquals(guid1.hashCode(), guid2.hashCode());
            assertNotEquals(guid1, guid3);
            assertNotEquals(guid1.hashCode(), guid3.hashCode());
    
            assertNotEquals(guid1, null);
            assertNotEquals(guid1, "not a guid");
        }
    
        @Test
        public void testHandleGuidToString() {
            UUID uuid = UUID.randomUUID();
            HandleGuid guid = new HandleGuid(uuid);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationTest.java

            byte[] dst = new byte[100];
            int bytesWritten = smbComQueryInformation.writeBytesWireFormat(dst, 0);
    
            // Expected format: buffer format (1 byte) + file name (null-terminated)
            int expectedLength = 1 + TEST_FILE_NAME.length() + 1;
            assertEquals(expectedLength, bytesWritten);
            assertEquals(0x04, dst[0]); // Buffer format
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
Back to top