Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 931 - 940 of 5,129 for new1 (0.02 seconds)

  1. compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/TestMetadataSource.java

            Set<Artifact> dependencies = new HashSet<>();
    
            if ("g".equals(artifact.getArtifactId())) {
                Artifact a = null;
                try {
                    a = factory.createBuildArtifact("org.apache.maven", "h", "1.0", "jar");
                    dependencies.add(a);
                } catch (Exception e) {
                    throw new ArtifactMetadataRetrievalException("Error retrieving metadata", e, a);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/MavenUpCling.java

    /**
     * Maven upgrade CLI "new-gen".
     */
    public class MavenUpCling extends ClingSupport {
        /**
         * "Normal" Java entry point. Note: Maven uses ClassWorld Launcher and this entry point is NOT used under normal
         * circumstances.
         */
        public static void main(String[] args) throws IOException {
            int exitCode = new MavenUpCling().run(args, null, null, null, false);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 3K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/dict/protwords/ApiAdminDictProtwordsAction.java

                    .status(ApiResult.Status.OK)
                    .result());
        }
    
        /**
         * Create a new protected words entry for the specified dictionary.
         *
         * @param dictId identifier of the dictionary
         * @param body create request payload
         * @return JSON response containing creation result and new entry ID
         */
        // POST /api/admin/dict/protwords/setting/{dictId}
        @Execute
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/exception/SsoProcessExceptionTest.java

            IllegalStateException innerException = new IllegalStateException("Invalid state");
            OutOfMemoryError middleError = new OutOfMemoryError("Memory exhausted");
            // Note: OutOfMemoryError constructor doesn't accept cause, so we create a wrapper
            RuntimeException outerException = new RuntimeException("Wrapper", middleError);
            SsoProcessException exception = new SsoProcessException(message, outerException);
    
    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)
  5. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

                    new SessionRequestPacket(mockConfig, new TestNetbiosName("SERVER", 0x20, null), new TestNetbiosName("CLIENT", 0x00, null));
    
            byte[] buffer = new byte[256];
            int written = writePacket.writeTrailerWireFormat(buffer, 0);
    
            ByteArrayInputStream bais = new ByteArrayInputStream(buffer, 0, written);
            SessionRequestPacket readPacket = new SessionRequestPacket(mockConfig);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

                        Arguments.of(new int[0], 4), // size() returns 4 for empty array
                        Arguments.of(new int[] { 1 }, 4 + 2), // size() returns 4 + 2*1
                        Arguments.of(new int[] { 1, 2 }, 4 + 4), // size() returns 4 + 2*2
                        Arguments.of(new int[] { 1, 2, 3, 4, 5 }, 4 + 10) // size() returns 4 + 2*5
                );
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  7. src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java

            int access = 123;
    
            // No exception thrown by sendrecv for MsrpcSamrConnect4
            doNothing().when(mockHandle).sendrecv(any(MsrpcSamrConnect4.class));
    
            try (SamrPolicyHandle handle = new SamrPolicyHandle(mockHandle, server, access)) {
                assertNotNull(handle);
                // Verify that sendrecv was called with MsrpcSamrConnect4
                verify(mockHandle, times(1)).sendrecv(any(MsrpcSamrConnect4.class));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/ProtoSession.java

            try {
                return new Builder(
                        getUserProperties(), getSystemProperties(), getStartTime(), getTopDirectory(), getRootDirectory());
            } catch (IllegalStateException e) {
                return new Builder(getUserProperties(), getSystemProperties(), getStartTime(), getTopDirectory(), null);
            }
        }
    
        /**
         * Returns new builder from scratch.
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jul 03 14:18:26 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb1/UniAddressTest.java

            // Act
            UniAddress ua = new UniAddress(dummy);
            // Assert
            assertSame(dummy, ua.getAddress(), "constructor should store the supplied address");
        }
    
        @Test
        void constructorRejectsNull() {
            // Expect constructor to throw IllegalArgumentException when passed null
            assertThrows(IllegalArgumentException.class, () -> new UniAddress(null));
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/curl/io/ContentCacheTest.java

                int bytesRead2 = stream2.read(buffer2);
                assertEquals(testContent, new String(buffer2, 0, bytesRead2, "UTF-8"));
            }
        }
    
        @Test
        public void testMemoryBasedCacheWithEmptyData() throws IOException {
            byte[] data = new byte[0];
            ContentCache cache = new ContentCache(data);
    
            try (InputStream stream = cache.getInputStream()) {
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 15.9K bytes
    - Click Count (0)
Back to Top