Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 70 for setMdc (0.03 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/logging/LoggingExecutionListener.java

            setMdc(event);
            delegate.projectDiscoveryStarted(event);
        }
    
        @Override
        public void sessionStarted(ExecutionEvent event) {
            setMdc(event);
            buildEventListener.sessionStarted(event);
            delegate.sessionStarted(event);
        }
    
        @Override
        public void sessionEnded(ExecutionEvent event) {
            setMdc(event);
            delegate.sessionEnded(event);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/logging/Slf4jLogger.java

            logger.warn(message);
        }
    
        @Override
        public void warn(String message, Throwable throwable) {
            setMdc();
            logger.warn(message, throwable);
        }
    
        @Override
        public boolean isWarnEnabled() {
            return logger.isWarnEnabled();
        }
    
        @Override
        public void error(String message) {
            setMdc();
            logger.error(message);
        }
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 08 08:49:11 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java

            Profile notActivated = new Profile();
            notActivated.setId("notActivated");
    
            Activation nonActivation = new Activation();
    
            nonActivation.setJdk("19.2");
    
            notActivated.setActivation(nonActivation);
    
            Profile defaultActivated = new Profile();
            defaultActivated.setId("defaultActivated");
    
            Activation defaultActivation = new Activation();
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Mar 30 23:08:36 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/profiles/ProfilesConversionUtils.java

                activation.setActiveByDefault(profileActivation.isActiveByDefault());
    
                activation.setJdk(profileActivation.getJdk());
    
                org.apache.maven.profiles.ActivationProperty profileProp = profileActivation.getProperty();
    
                if (profileProp != null) {
                    ActivationProperty prop = new ActivationProperty();
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/UrlQueueImplTest.java

            queue.setId(123L);
            assertEquals(Long.valueOf(123L), queue.getId());
    
            queue.setId(null);
            assertNull(queue.getId());
        }
    
        public void test_idWithStringType() {
            // Test ID getter/setter with String
            UrlQueueImpl<String> queue = new UrlQueueImpl<>();
    
            queue.setId("id123");
            assertEquals("id123", queue.getId());
        }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/DfsResolverTest.java

            assertFalse(dfsResolver.isTrustedDomain(mockContext, "anyDomain"));
        }
    
        // Test for getDc method
        @Test
        void testGetDc_DfsDisabled() throws CIFSException {
            when(mockConfig.isDfsDisabled()).thenReturn(true);
            assertNull(dfsResolver.getDc(mockContext, "anyDomain"));
        }
    
        @Test
        void testGetDc_Success() throws CIFSException, IOException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/DfsImplTest.java

            assertFalse(dfsImpl.isTrustedDomain(mockContext, "anydomain.com"));
        }
    
        // Tests for getDc
        @Test
        void testGetDc_DfsDisabled() throws SmbAuthException {
            // Scenario: DFS is disabled.
            when(mockConfig.isDfsDisabled()).thenReturn(true);
            assertNull(dfsImpl.getDc(mockContext, "anydomain.com"));
        }
    
        @Test
        void testGetDc_ConnectionFails() throws SmbAuthException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  8. compat/maven-settings-builder/src/test/java/org/apache/maven/settings/validation/DefaultSettingsValidatorTest.java

            Profile profile = new Profile();
            profile.setId("pro");
            settings.addProfile(profile);
            Repository repo1 = new Repository();
            repo1.setUrl("http://apache.org/");
            repo1.setId("test");
            profile.addRepository(repo1);
            Repository repo2 = new Repository();
            repo2.setUrl("http://apache.org/");
            repo2.setId("test");
            profile.addRepository(repo2);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  9. impl/maven-core/src/test/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulatorTest.java

            MavenExecutionRequest request = new DefaultMavenExecutionRequest();
    
            Repository r = new Repository();
            r.setId("test");
            r.setUrl("file:///test");
    
            Profile p = new Profile();
            p.setId("test");
            p.addPluginRepository(r);
    
            Settings settings = new Settings();
            settings.addProfile(p);
            settings.addActiveProfile(p.getId());
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/lifecycle/Phase.java

        /**
         * Set the ID of this phase, e.g.,
         * <code>generate-sources</code>.
         *
         * @param id a id object.
         */
        public void setId(String id) {
            this.id = id;
        } // -- void setId( String )
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top