Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for newHandler (0.05 seconds)

  1. src/test/java/jcifs/smb/HandlerTest.java

    @ExtendWith(MockitoExtension.class)
    class HandlerTest {
    
        @Mock
        CIFSContext mockCtx;
    
        @Mock
        Configuration mockCfg;
    
        // Provides a fresh handler instance for tests
        private Handler newHandler() {
            return new Handler();
        }
    
        // Provides a handler wired with a mocked CIFSContext
        private Handler newHandlerWith(CIFSContext ctx) {
            return new Handler(ctx);
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

        }
    
        public static org.apache.maven.artifact.Artifact toArtifact(Artifact artifact) {
            if (artifact == null) {
                return null;
            }
    
            ArtifactHandler handler = newHandler(artifact);
    
            /*
             * NOTE: From Artifact.hasClassifier(), an empty string and a null both denote "no classifier". However, some
             * plugins only check for null, so be sure to nullify an empty classifier.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Sep 04 18:33:16 GMT 2025
    - 15.8K bytes
    - Click Count (0)
Back to Top