Search Options

Results per page
Sort
Preferred Languages
Advance

Results 971 - 980 of 1,444 for scratch (0.16 sec)

  1. android/guava/src/com/google/common/util/concurrent/Callables.java

         * see if we have the modifyThread permission without catching an exception?
         */
        try {
          currentThread.setName(threadName);
          return true;
        } catch (SecurityException e) {
          return false;
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/misc/DisposableUtil.java

        public static synchronized void dispose() {
            while (!disposables.isEmpty()) {
                final Disposable disposable = disposables.removeLast();
                try {
                    disposable.dispose();
                } catch (final Throwable t) {
                    t.printStackTrace(); // must not use Logger.
                }
            }
            disposables.clear();
            Introspector.flushCaches();
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/installer/DefaultArtifactInstaller.java

                } else {
                    request.addMetadata(new MetadataBridge(metadata));
                }
            }
    
            try {
                repoSystem.install(session, request);
            } catch (InstallationException e) {
                throw new ArtifactInstallationException(e.getMessage(), e);
            }
    
            /*
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifact.java

        public synchronized File getFile() {
            try {
                String state = mayUpdate();
                if (state == null) {
                    return null;
                }
                return target.toFile();
            } catch (IOException | NoSuchAlgorithmException | XMLStreamException | ModelBuildingException e) {
                throw new TransformationFailedException(e);
            }
        }
    
        private String mayUpdate()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java

        // Assert that escapers throw null pointer exceptions.
        try {
          escaper.escape((String) null);
          Assert.fail("exception not thrown when escaping a null string");
        } catch (NullPointerException e) {
          // pass
        }
      }
    
      /**
       * Asserts that an escaper escapes the given character into the expected string.
       *
       * @param escaper the non-null escaper to test
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/dict/protwords/AdminDictProtwordsAction.java

            return protwordsService.getProtwordsFile(form.dictId).map(file -> {
                try (InputStream inputStream = form.protwordsFile.getInputStream()) {
                    file.update(inputStream);
                } catch (final IOException e) {
                    logger.warn("Failed to process a request.", e);
                    throwValidationError(messages -> messages.addErrorsFailedToUploadProtwordsFile(GLOBAL),
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultClasspathTransformation.java

                    MetadataGraphVertex entry = cleanGraph.getEntry();
                    // entry point
                    v.visit(entry);
                }
    
                return cpc;
            } catch (GraphConflictResolutionException e) {
                throw new MetadataGraphTransformationException(e);
            }
        }
    
        // ===================================================================================================
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultToolchainManager.java

                ToolchainPrivate[] toolchains = toolchainManagerPrivate.getToolchainsForType(type, s);
                return new MappedList<>(Arrays.asList(toolchains), this::toToolchain);
            } catch (MisconfiguredToolchainException e) {
                throw new ToolchainManagerException("Unable to get toochains for type " + type, e);
            }
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/RecordedRequest.kt

        this.body = body
        this.sequenceNumber = sequenceNumber
        this.failure = failure
    
        if (socket is SSLSocket) {
          try {
            this.handshake = socket.session.handshake()
          } catch (e: IOException) {
            throw IllegalArgumentException(e)
          }
        } else {
          this.handshake = null
        }
    
        if (requestLine.isNotEmpty()) {
          val methodEnd = requestLine.indexOf(' ')
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/base/SearchForm.java

                    if (num.intValue() > fessConfig.getPagingSearchPageMaxSizeAsInteger().intValue() || num.intValue() <= 0) {
                        num = fessConfig.getPagingSearchPageMaxSizeAsInteger();
                    }
                } catch (final NumberFormatException e) {
                    num = fessConfig.getPagingSearchPageSizeAsInteger();
                }
            }
            return num;
        }
    
        @Override
        public String getQuery() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top