Search Options

Results per page
Sort
Preferred Languages
Advance

Results 551 - 560 of 1,922 for try (3.47 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

            }
    
            @Override
            public Activation transformActivation(Activation target) {
                stk.push(new ActivationFrame("activation", Optional.of(target)));
                try {
                    return super.transformActivation(target);
                } finally {
                    stk.pop();
                }
            }
    
            @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 77.1K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/PostStreamingWithPipe.java

        Request request = new Request.Builder()
            .url("https://api.github.com/markdown/raw")
            .post(pipeBody)
            .build();
    
        streamPrimesToSinkAsynchronously(pipeBody.sink());
    
        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
          System.out.println(response.body().string());
        }
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Jul 06 03:18:15 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/job/UpdateLabelJob.java

            final LanguageHelper languageHelper = ComponentUtil.getLanguageHelper();
    
            final StringBuilder resultBuf = new StringBuilder();
    
            try {
                final long count = searchEngineClient.updateByQuery(fessConfig.getIndexDocumentUpdateIndex(), option -> {
                    if (queryBuilder != null) {
                        option.setQuery(queryBuilder);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/MoreExecutors.java

        if (System.getProperty("com.google.appengine.runtime.environment") == null) {
          return false;
        }
        try {
          Class.forName("com.google.appengine.api.utils.SystemProperty");
        } catch (ClassNotFoundException e) {
          return false;
        }
        try {
          // If the current environment is null, we're not inside AppEngine.
          return Class.forName("com.google.apphosting.api.ApiProxy")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 44.1K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/ExtractDslMetaDataTask.groovy

            if (!sourceFile.name.endsWith('.java')) {
                throw new DocGenerationException("Parsing non-Java files is not supported: $sourceFile")
            }
            try {
                new JavaParser().parse(sourceFile).getResult().get().accept(new SourceMetaDataVisitor(), repository)
            } catch (Exception e) {
                throw new DocGenerationException("Could not parse '$sourceFile'.", e)
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Jan 08 12:45:57 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactory.java

        @Resource
        protected CrawlerContainer crawlerContainer;
    
        protected Map<Pattern, CrawlerClient> clientMap = new LinkedHashMap<>();
    
        @PostConstruct
        public void init() {
            try {
                final CrawlerClientCreator creator = crawlerContainer.getComponent("crawlerClientCreator");
                if (creator != null) {
                    creator.register(this);
                }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/SimplexTransferListener.java

        }
    
        public TransferListener getDelegate() {
            return delegate;
        }
    
        private void feedConsumer() {
            final ArrayList<Exchange> batch = new ArrayList<>(batchMaxSize);
            try {
                while (true) {
                    batch.clear();
                    if (eventQueue.drainTo(batch, BATCH_MAX_SIZE) == 0) {
                        batch.add(eventQueue.take());
                    }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. docs_src/dependencies/tutorial007.py

    async def get_db():
        db = DBSession()
        try:
            yield db
        finally:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 99 bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

          }
        },
        DECODE {
          @Override
          void assertFailsToDecode(
              BaseEncoding encoding, String cannotDecode, @Nullable String expectedMessage) {
            try {
              encoding.decode(cannotDecode);
              fail("Expected IllegalArgumentException");
            } catch (IllegalArgumentException expected) {
              if (expectedMessage != null) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 16:27:30 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

            Properties oldProps = (Properties) System.getProperties().clone();
            ClassLoader oldCL = Thread.currentThread().getContextClassLoader();
            try (C context = createContext(invokerRequest)) {
                try {
                    if (context.currentThreadContextClassLoader != null) {
                        Thread.currentThread().setContextClassLoader(context.currentThreadContextClassLoader);
                    }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
Back to top