Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 1,922 for try (0.02 sec)

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

              }
            };
    
        Thread otherThread =
            new Thread(
                new Runnable() {
                  @Override
                  public void run() {
                    try {
                      Future<?> future = executor.submit(incrementTask);
                      assertTrue(future.isDone());
                      assertEquals(1, threadLocalCount.get().intValue());
                    } catch (Throwable t) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

            final EsDataService dataService = ComponentUtil.getComponent(EsDataService.class);
    
            try {
                // clear url filter
                urlFilterService.delete(sid);
            } catch (final Exception e) {
                logger.warn("Failed to delete UrlFilter for {}", sid, e);
            }
    
            try {
                // clear queue
                urlQueueService.clearCache();
                urlQueueService.delete(sid);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

        }
    
        private void initialize(final Map<String, Object> initialSettings) {
            boolean doIndexCreate = false;
            boolean doCreate = false;
            try {
                final GetResponse getResponse =
                        client.prepareGet().setIndex(settingsIndexName).setId(settingsId).execute().actionGet(getSearchTimeout());
    
                if (!getResponse.isExists()) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/PluginHelperTest.java

                        try (InputStream is = ResourceUtil.getResourceAsStream(url)) {
                            return new String(InputStreamUtil.getBytes(is), Constants.UTF_8);
                        } catch (IOException e) {
                            throw new IORuntimeException(e);
                        }
                    } else if (url.contains("plugin/repo2")) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jun 17 12:38:38 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java

        equivalenceMock.expectDistinct(group1Item2, group1Item1);
    
        equivalenceMock.expectHash(group1Item1, 1);
        equivalenceMock.expectHash(group1Item2, 1);
    
        equivalenceMock.replay();
    
        try {
          tester.addEquivalenceGroup(group1Item1, group1Item2).test();
        } catch (AssertionFailedError expected) {
          assertThat(expected.getMessage())
              .contains(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  6. guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java

        equivalenceMock.expectDistinct(group1Item2, group1Item1);
    
        equivalenceMock.expectHash(group1Item1, 1);
        equivalenceMock.expectHash(group1Item2, 1);
    
        equivalenceMock.replay();
    
        try {
          tester.addEquivalenceGroup(group1Item1, group1Item2).test();
        } catch (AssertionFailedError expected) {
          assertThat(expected.getMessage())
              .contains(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/sql/ResultSetUtil.java

         * </p>
         *
         * @param resultSet
         *            結果セット
         */
        public static void close(final ResultSet resultSet) {
            if (resultSet == null) {
                return;
            }
            try {
                resultSet.close();
            } catch (final SQLException e) {
                logger.log(format("ECL0017", e.getMessage()), e);
            }
        }
    
        /**
         * 結果セットを次に進めます。
         *
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/DfsImpl.java

                        return null;
                    }
                    return ri;
                }
                ce = new CacheEntry<>(tf.getConfig().getDfsTtl());
                try {
                    try ( SmbTransportInternal trans = tf.getTransportPool().getSmbTransport(tf, domain, 0, false, false)
                            .unwrap(SmbTransportInternal.class) ) {
                        synchronized ( trans ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:07:29 UTC 2023
    - 29.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

                    dictionaryPath = fessConfig.getIndexDictionaryPrefix() + "/" + path;
                } else {
                    dictionaryPath = path;
                }
                try {
                    source = FileUtil.readUTF8(filePath);
                    try (CurlResponse response =
                            ComponentUtil.getCurlHelper().post("/_configsync/file").param("path", dictionaryPath).body(source).execute()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/SystemHelper.java

            updateConfigListenerMap.put("KeyMatch", () -> Integer.toString(ComponentUtil.getKeyMatchHelper().load()));
        }
    
        protected void parseProjectProperties(final Path propPath) {
            try (final InputStream in = Files.newInputStream(propPath)) {
                final Properties prop = new Properties();
                prop.load(in);
                version = prop.getProperty("fess.version", "0.0.0");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 17 12:10:08 UTC 2024
    - 27.2K bytes
    - Viewed (0)
Back to top