Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1121 - 1130 of 4,648 for new1 (0.02 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

            assertEquals(
                    createSet(new Object[] {a.artifact, b.artifact, c.artifact, d.artifact}),
                    res.getArtifacts(),
                    "Check artifact list");
    
            ArtifactFilter filter = new ExclusionSetFilter(new String[] {"b"});
            res = collect(a, filter);
            assertEquals(createSet(new Object[] {a.artifact, c.artifact}), res.getArtifacts(), "Check artifact list");
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 42.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/badword/AdminBadwordAction.java

            CommonPoolUtil.execute(() -> {
                try (Reader reader = new BufferedReader(new InputStreamReader(form.badWordFile.getInputStream(), getCsvEncoding()))) {
                    badWordService.importCsv(reader);
                    suggestHelper.storeAllBadWords(false);
                } catch (final Exception e) {
                    throw new FessSystemException("Failed to import data.", e);
                }
            });
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  3. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

            }
        }
    
        @Test
        public void testMng7714() {
            ComparableVersion f = new ComparableVersion("1.0.final-redhat");
            ComparableVersion sp1 = new ComparableVersion("1.0-sp1-redhat");
            ComparableVersion sp2 = new ComparableVersion("1.0-sp-1-redhat");
            ComparableVersion sp3 = new ComparableVersion("1.0-sp.1-redhat");
            assertTrue(f.compareTo(sp1) < 0, "expected " + f + " < " + sp1);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableMultimap.java

      }
    
      // looking for of() with > 5 entries? Use the builder instead.
    
      /**
       * Returns a new builder. The generated builder is equivalent to the builder created by the {@link
       * Builder} constructor.
       */
      public static <K, V> Builder<K, V> builder() {
        return new Builder<>();
      }
    
      /**
       * Returns a new builder with a hint for how many distinct keys are expected to be added. The
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 28.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/convert/DateConversionUtilTest.java

            final Date date = toDate("10/9/7");
            assertThat(new SimpleDateFormat("yyyy/MM/dd").format(date), is("2010/09/07"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToDate_MediumStyle() throws Exception {
            final Date date = toDate("2010/9/7");
            assertThat(new SimpleDateFormat("yyyy/MM/dd").format(date), is("2010/09/07"));
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/spnego/NegTokenInit.java

                if (mechanismListMIC != null) {
                    fields.add(new DERTaggedObject(true, 3, new DEROctetString(mechanismListMIC)));
                }
    
                final ASN1EncodableVector ev = new ASN1EncodableVector();
                ev.add(SPNEGO_OID);
                ev.add(new DERTaggedObject(true, 0, new DERSequence(fields)));
                final ByteArrayOutputStream collector = new ByteArrayOutputStream();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/UnicodeStringTest.java

            // Create a dummy rpc.unicode_string
            rpc.unicode_string dummyRus = new rpc.unicode_string();
            dummyRus.length = 10;
            dummyRus.maximum_length = 20;
            dummyRus.buffer = new short[] { 'H', 'e', 'l', 'l', 'o' };
    
            // Test with zterm = true
            UnicodeString unicodeStringTrue = new UnicodeString(dummyRus, true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/ScheduledJobExceptionTest.java

        }
    
        public void test_nestedExceptionChain() {
            // Test nested exception chain
            Throwable rootCause = new IllegalArgumentException("Root cause");
            Throwable middleCause = new IllegalStateException("Middle cause", rootCause);
            ScheduledJobException exception = new ScheduledJobException("Top level error", middleCause);
    
            assertEquals("Top level error", exception.getMessage());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/dict/DictionaryExceptionTest.java

            DictionaryException exception = new DictionaryException("Serialization test");
    
            assertTrue(exception instanceof java.io.Serializable);
        }
    
        public void test_toString() {
            // Test toString method
            String message = "Dictionary parse error";
            Exception cause = new NullPointerException("NPE occurred");
            DictionaryException exception = new DictionaryException(message, cause);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java

                NtlmChallenge nc = new NtlmChallenge(null, dc);
    
                assertNull(nc.challenge);
                assertSame(dc, nc.dc);
            }
    
            @Test
            @DisplayName("Constructor accepts null dc")
            void testConstructorAcceptsNullDc() {
                byte[] challenge = new byte[] { 1, 2, 3 };
    
                NtlmChallenge nc = new NtlmChallenge(challenge, null);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6K bytes
    - Viewed (0)
Back to top