Search Options

Results per page
Sort
Preferred Languages
Advance

Results 701 - 710 of 4,785 for new (0.03 sec)

  1. guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java

        MockCallback callback = new MockCallback(e);
        addCallback(f, callback, directExecutor());
      }
    
      public void testOnSuccessThrowsRuntimeException() throws Exception {
        RuntimeException exception = new RuntimeException();
        String result = "result";
        SettableFuture<String> future = SettableFuture.create();
        int[] successCalls = new int[1];
        int[] failureCalls = new int[1];
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/artifact/repository/MavenArtifactRepositoryTest.java

                return id;
            }
        }
    
        @Test
        void testHashCodeEquals() {
            MavenArtifactRepositorySubclass r1 = new MavenArtifactRepositorySubclass("foo");
            MavenArtifactRepositorySubclass r2 = new MavenArtifactRepositorySubclass("foo");
            MavenArtifactRepositorySubclass r3 = new MavenArtifactRepositorySubclass("bar");
    
            assertTrue(r1.hashCode() == r2.hashCode());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/LanguageHelperTest.java

        @Override
        public void setUp() throws Exception {
            super.setUp();
            languageHelper = new LanguageHelper();
            languageHelper.langFields = new String[] { "title", "content" };
        }
    
        public void test_createScript() {
            Map<String, Object> doc = new HashMap<>();
            assertEquals("aaa", languageHelper.createScript(doc, "aaa").getIdOrCode());
    
            doc.put("lang", "ja");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

        return ListTestSuiteBuilder.using(
                new TestStringListGenerator() {
                  @Override
                  protected List<String> create(final String[] elements) {
                    // For this test we trust ArrayList works
                    final List<String> list = new ArrayList<>();
                    Collections.addAll(list, elements);
                    return new AbstractSequentialList<String>() {
                      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

     *
     * @author Kevin Bourrillion
     */
    @GwtIncompatible
    public class TestsForMapsInJavaUtil {
    
      public static Test suite() {
        return new TestsForMapsInJavaUtil().allTests();
      }
    
      public Test allTests() {
        TestSuite suite = new TestSuite("java.util Maps");
        suite.addTest(testsForCheckedMap());
        suite.addTest(testsForCheckedNavigableMap());
        suite.addTest(testsForCheckedSortedMap());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/elevateword/AdminElevatewordAction.java

                try (Reader reader = new BufferedReader(new InputStreamReader(form.elevateWordFile.getInputStream(), getCsvEncoding()))) {
                    elevateWordService.importCsv(reader);
                    suggestHelper.deleteAllElevateWord(false);
                    suggestHelper.storeAllElevateWords(false);
                } catch (final Exception e) {
                    throw new FessSystemException("Failed to import data.", e);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

                        final Class<?> targetClass = target == null ? null : target.getClass();
                        throw new ClIllegalArgumentException("target", "ECL0098",
                                new Object[] { clazz.getName(), clazz.getClassLoader(), propertyType.getName(), propertyType.getClassLoader(),
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

            switch ( type ) {
            case EncryptionNegotiateContext.NEGO_CTX_ENC_TYPE:
                return new EncryptionNegotiateContext();
            case PreauthIntegrityNegotiateContext.NEGO_CTX_PREAUTH_TYPE:
                return new PreauthIntegrityNegotiateContext();
            }
            return null;
        }
    
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 22 10:09:46 UTC 2020
    - 17.6K bytes
    - Viewed (0)
  9. api/maven-api-metadata/src/main/mdo/metadata.mdo

                        }
                        if ( updateSnapshotVersions )
                        {
                            java.util.Map<String, SnapshotVersion> versions = new java.util.LinkedHashMap<>();
                            // never convert from legacy to new format if either source or target is legacy format
                            if ( !v.getSnapshotVersions().isEmpty() )
                            {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed May 15 17:32:27 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Collections2.java

        final List<E> list;
        final int[] c;
        final int[] o;
        int j;
    
        PermutationIterator(List<E> list) {
          this.list = new ArrayList<>(list);
          int n = list.size();
          c = new int[n];
          o = new int[n];
          Arrays.fill(c, 0);
          Arrays.fill(o, 1);
          j = Integer.MAX_VALUE;
        }
    
        @Override
        @CheckForNull
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 22.8K bytes
    - Viewed (0)
Back to top