Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1471 - 1480 of 4,689 for nulls (0.02 seconds)

  1. api/maven-api-core/src/test/java/org/apache/maven/api/SourceRootTest.java

        private Language language;
    
        private String moduleName;
    
        @Override
        public ProjectScope scope() {
            return (scope != null) ? scope : SourceRoot.super.scope();
        }
    
        @Override
        public Language language() {
            return (language != null) ? language : SourceRoot.super.language();
        }
    
        @Override
        public Optional<String> module() {
            return Optional.ofNullable(moduleName);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Oct 26 17:22:14 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  2. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/ToolchainsBuildingExceptionTest.java

        }
    
        @Test
        void testOneProblem() {
            ProblemCollector problemCollector = ProblemCollectorFactory.newInstance(null);
            problemCollector.add(Problem.Severity.ERROR, "MESSAGE", 3, 5, new Exception());
            ToolchainsBuildingException e = new ToolchainsBuildingException(problemCollector.getProblems());
            assertEquals(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Mar 26 19:31:34 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/eventspy/EventSpy.java

             *
             * @return The key-value pairs, never {@code null}.
             */
            Map<String, Object> getData();
        }
    
        /**
         * Initializes the spy.
         *
         * @param context The event spy context, never {@code null}.
         */
        void init(Context context) throws Exception;
    
        /**
         * Notifies the spy of some build event/operation.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Feb 10 15:02:53 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/aether/LoggingRepositoryListener.java

            if (event.getMetadata().getFile() != null) {
                metadata = event.getMetadata().getFile();
            } else {
                metadata = event.getMetadata();
            }
    
            String errorType = " is invalid";
            if (exception instanceof FileNotFoundException) {
                errorType = " is inaccessible";
            }
    
            String msg = "";
            if (exception != null) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/warnings/InjectAllowedWarnings.java

         * @param allowedWarnings The allowed warnings to inject
         */
        public InjectAllowedWarnings(boolean isRegex, List<String> allowedWarnings) {
            this(isRegex, allowedWarnings, null);
        }
    
        /**
         * @param isRegex true if should inject the regex variant of allowed warnings
         * @param allowedWarnings The allowed warnings to inject
         * @param testName The testName to inject
         */
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Jul 15 08:50:42 GMT 2021
    - 3.3K bytes
    - Click Count (0)
  6. docs/smb3-features/02-persistent-handles-design.md

            if (info != null) {
                System.arraycopy(fileId, 0, info.fileId, 0, 16);
                if (info.type == HandleType.PERSISTENT) {
                    persistHandle(info);
                }
            }
        }
        
        public HandleInfo getHandleForReconnect(String path) {
            HandleInfo info = handles.get(path);
            if (info != null && !info.isExpired()) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 31.6K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/searchlist/ApiAdminSearchlistAction.java

                        final Number primaryTerm = (Number) entity.remove(fessConfig.getIndexFieldPrimaryTerm());
                        if (seqNo != null && primaryTerm != null && oldId != null) {
                            searchEngineClient.delete(index, oldId, seqNo, primaryTerm);
                        }
                    }
    
                    searchEngineClient.store(index, entity);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 12.2K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/exception/SsoProcessExceptionTest.java

            assertEquals(message, exception.getMessage());
            assertNull(exception.getCause());
        }
    
        @Test
        public void test_constructor_withNullMessageAndCause() {
            // Test constructor with both null message and cause
            SsoProcessException exception = new SsoProcessException(null, null);
    
            assertNull(exception.getMessage());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java

            assertThrows(NullPointerException.class, () -> {
                new SmbComRename(null, oldFileName, newFileName);
            });
        }
    
        /**
         * Test with null file names
         */
        @Test
        @DisplayName("Test constructor with null file names")
        public void testConstructorWithNullFileNames() {
            // When & Then - should not throw exception during construction
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

            if (context.parserRequest.mavenHome() != null) {
                Path result = getCanonicalPath(context.parserRequest.mavenHome());
                context.systemPropertiesOverrides.put(Constants.MAVEN_HOME, result.toString());
                return result;
            } else {
                String mavenHome = System.getProperty(Constants.MAVEN_HOME);
                if (mavenHome == null) {
                    throw new IllegalStateException(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 10 07:39:11 GMT 2025
    - 25.5K bytes
    - Click Count (0)
Back to Top