Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 971 for Try (0.12 sec)

  1. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java

        }
    
        @Override
        public synchronized void insert(final KuromojiItem item) {
            try (KuromojiUpdater updater = new KuromojiUpdater(item)) {
                reload(updater);
            }
        }
    
        @Override
        public synchronized void update(final KuromojiItem item) {
            try (KuromojiUpdater updater = new KuromojiUpdater(item)) {
                reload(updater);
            }
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java

        }
    
        @Override
        public synchronized void insert(final StopwordsItem item) {
            try (SynonymUpdater updater = new SynonymUpdater(item)) {
                reload(updater);
            }
        }
    
        @Override
        public synchronized void update(final StopwordsItem item) {
            try (SynonymUpdater updater = new SynonymUpdater(item)) {
                reload(updater);
            }
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

        try {
          assertFalse(b);
        } catch (AssertionFailedError t) {
          threadRecordFailure(t);
          throw t;
        }
      }
    
      /**
       * Just like assertNull(x), but additionally recording (using threadRecordFailure) any
       * AssertionFailedError thrown, so that the current testcase will fail.
       */
      public void threadAssertNull(Object x) {
        try {
          assertNull(x);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

        }
    
        @Override
        public synchronized void insert(final CharMappingItem item) {
            try (MappingUpdater updater = new MappingUpdater(item)) {
                reload(updater);
            }
        }
    
        @Override
        public synchronized void update(final CharMappingItem item) {
            try (MappingUpdater updater = new MappingUpdater(item)) {
                reload(updater);
            }
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapReplaceEntryTester.java

        try {
          getMap().replace(k0(), v0(), v3());
          fail("Expected UnsupportedOperationException");
        } catch (UnsupportedOperationException expected) {
        }
        expectUnchanged();
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testReplaceEntry_unsupportedWrongValue() {
        try {
          getMap().replace(k0(), v3(), v4());
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/OkHttpClientTest.kt

        val builder = OkHttpClient.Builder()
        try {
          builder.callTimeout(Duration.ofNanos(1))
        } catch (ignored: IllegalArgumentException) {
        }
        try {
          builder.connectTimeout(Duration.ofNanos(1))
        } catch (ignored: IllegalArgumentException) {
        }
        try {
          builder.writeTimeout(Duration.ofNanos(1))
        } catch (ignored: IllegalArgumentException) {
        }
        try {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ArrayTableTest.java

        assertNull(table.at(1, 2));
        try {
          table.at(1, 3);
          fail();
        } catch (IndexOutOfBoundsException expected) {
        }
        try {
          table.at(1, -1);
          fail();
        } catch (IndexOutOfBoundsException expected) {
        }
        try {
          table.at(3, 2);
          fail();
        } catch (IndexOutOfBoundsException expected) {
        }
        try {
          table.at(-1, 2);
          fail();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ArrayTableTest.java

        assertNull(table.at(1, 2));
        try {
          table.at(1, 3);
          fail();
        } catch (IndexOutOfBoundsException expected) {
        }
        try {
          table.at(1, -1);
          fail();
        } catch (IndexOutOfBoundsException expected) {
        }
        try {
          table.at(3, 2);
          fail();
        } catch (IndexOutOfBoundsException expected) {
        }
        try {
          table.at(-1, 2);
          fail();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ForwardingSortedMapImplementsMapTest.java

      @Override
      public void testContainsKey() {
        try {
          super.testContainsKey();
        } catch (ClassCastException tolerated) {
        }
      }
    
      @J2ktIncompatible // https://youtrack.jetbrains.com/issue/KT-58242/ undefined behavior (crash)
      @Override
      public void testEntrySetContainsEntryIncompatibleKey() {
        try {
          super.testEntrySetContainsEntryIncompatibleKey();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/SetsTest.java

        try {
          reverse.add(4);
          fail("UnsupportedOperationException expected");
        } catch (UnsupportedOperationException expected) {
        }
        try {
          reverse.addAll(Collections.singleton(4));
          fail("UnsupportedOperationException expected");
        } catch (UnsupportedOperationException expected) {
        }
        try {
          reverse.remove(4);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 47.9K bytes
    - Viewed (1)
Back to top