Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3851 - 3860 of 4,689 for nulls (0.05 seconds)

  1. compat/maven-builder-support/src/main/java/org/apache/maven/building/DefaultProblemCollector.java

    class DefaultProblemCollector implements ProblemCollector {
    
        private final List<Problem> problems;
    
        private String source;
    
        DefaultProblemCollector(List<Problem> problems) {
            this.problems = (problems != null) ? problems : new ArrayList<>();
        }
    
        @Override
        public List<Problem> getProblems() {
            return problems;
        }
    
        @Override
        public void setSource(String source) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jan 15 18:51:29 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  2. compat/maven-builder-support/src/test/java/org/apache/maven/building/StringSourceTest.java

            source = new StringSource("Hello World!", "LOCATION");
            assertEquals("LOCATION", source.getLocation());
        }
    
        @Test
        void testGetContent() {
            StringSource source = new StringSource(null);
            assertEquals("", source.getContent());
    
            source = new StringSource("Hello World!", "LOCATION");
            assertEquals("Hello World!", source.getContent());
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultUrlNormalizer.java

    @Named
    @Singleton
    @Deprecated(since = "4.0.0")
    public class DefaultUrlNormalizer implements UrlNormalizer {
    
        @Override
        public String normalize(String url) {
            String result = url;
    
            if (result != null) {
                while (true) {
                    int idx = result.indexOf("/../");
                    if (idx < 0) {
                        break;
                    } else if (idx == 0) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/resources/eclipse.settings/org.eclipse.jdt.core.prefs

    eclipse.preferences.version=1
    
    # this is merged with gradle's generated properties during 'gradle eclipse'
    
    # NOTE: null pointer analysis etc is not enabled currently, it seems very unstable
    # (e.g. crashing eclipse etc)
    # org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=enabled
    # org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore
    # org.eclipse.jdt.core.compiler.annotation.nullable=org.elasticsearch.core.Nullable
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 08 16:53:28 GMT 2021
    - 1.7K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/exception/ResultOffsetExceededExceptionTest.java

            assertNull(exception.getCause());
        }
    
        @Test
        public void test_constructor_withNullMessage() {
            // Test with null message
            ResultOffsetExceededException exception = new ResultOffsetExceededException(null);
    
            assertNull(exception.getMessage());
            assertNotNull(exception.getStackTrace());
            assertTrue(exception.getStackTrace().length > 0);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java

         * Associates all of {@code map's} keys and values in the built map. Duplicate keys are not
         * allowed, and will cause {@link #build} to fail.
         *
         * @throws NullPointerException if any key or value in {@code map} is null
         * @throws ClassCastException if any value is not an instance of the type specified by its key
         */
        @CanIgnoreReturnValue
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 7K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java

         */
        protected boolean isImageMimeType(final ResponseData responseData) {
            final String mimeType = responseData.getMimeType();
            if (mimeType == null) {
                return true;
            }
    
            return switch (mimeType) {
            case "image/png", "image/gif", "image/jpeg", "image/bmp" -> true;
            default -> false;
            };
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 01 12:47:47 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/util/JvmUtilTest.java

            assertEquals("-X666", values[3]);
            assertEquals("-X777", values[4]);
            assertEquals("-X999", values[5]);
        }
    
        @Test
        public void test_getJavaVersion_edgeCases() {
            // Test with null java.version property
            System.clearProperty("java.version");
            assertEquals(8, JvmUtil.getJavaVersion());
    
            // Test with empty string
            System.setProperty("java.version", "");
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/TreeTraverser.java

     *     /  e  \
     *    d       g
     *   /|\      |
     *  / | \     f
     * a  b  c
     * }
     *
     * <p>can be iterated over in preorder (hdabcegf), postorder (abcdefgh), or breadth-first order
     * (hdegabcf).
     *
     * <p>Null nodes are strictly forbidden.
     *
     * <p>Because this is an abstract class, not an interface, you can't use a lambda expression to
     * implement it:
     *
     * {@snippet :
     * // won't work
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 18:39:06 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java

            response.getServerData().scapabilities = 0;
            response.getServerData().encryptionKeyLength = 8;
            // Domain name in OEM encoding (ASCII) with null terminator
            byte[] domainBytes = "DOMAIN\0".getBytes("US-ASCII");
            // Use reflection to set protected byteCount field
            int byteCountValue = 8 + domainBytes.length;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.4K bytes
    - Click Count (0)
Back to Top