Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1441 - 1450 of 2,371 for Try (0.02 seconds)

  1. compat/maven-model/src/test/java/org/apache/maven/model/pom/PomMemoryAnalyzer.java

            Files.walk(rootDir)
                    .filter(path -> path.getFileName().toString().equals("pom.xml"))
                    .filter(path -> !containsSrcOrTarget(path))
                    .forEach(pomPath -> {
                        try {
                            Model model = reader.read(Files.newInputStream(pomPath));
                            analyzer.analyzePom(model);
                        } catch (Exception e) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/FileProfileActivator.java

            } else if (StringUtils.isNotEmpty(file.getMissing())) {
                path = file.getMissing();
                missing = true;
            } else {
                return false;
            }
    
            try {
                path = profileActivationFilePathInterpolator.interpolate(path, context);
            } catch (InterpolationException e) {
                problems.add(new ModelProblemCollectorRequest(Severity.ERROR, Version.BASE)
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/util/PrunedTagTest.java

            // Test invalid formats that should throw FessSystemException
            try {
                PrunedTag.parse("invalid_format_with_special_chars@#$%");
                fail("Should have thrown FessSystemException");
            } catch (FessSystemException e) {
                assertTrue(e.getMessage().contains("Invalid pruned tag"));
            }
    
            try {
                PrunedTag.parse("[invalid]");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 21.1K bytes
    - Click Count (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

            this.substitute = substitute;
        }
    
        public void load(Path location) throws IOException {
            try (InputStream is = Files.newInputStream(location)) {
                load(is);
            }
        }
    
        public void load(URL location) throws IOException {
            try (InputStream is = location.openStream()) {
                load(is);
            }
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 38.4K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenProperties.java

            this.substitute = substitute;
        }
    
        public void load(Path location) throws IOException {
            try (InputStream is = Files.newInputStream(location)) {
                load(is);
            }
        }
    
        public void load(URL location) throws IOException {
            try (InputStream is = location.openStream()) {
                load(is);
            }
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 09:03:48 GMT 2025
    - 38.5K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java

      public void testExecute_idempotentConcurrently() throws InterruptedException {
        CountDownLatch okayToRun = new CountDownLatch(1);
        AtomicInteger runCalled = new AtomicInteger();
        list.add(
            () -> {
              try {
                okayToRun.await();
              } catch (InterruptedException e) {
                Thread.currentThread().interrupt();
                throw new RuntimeException(e);
              }
              runCalled.getAndIncrement();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Challenge.kt

      /** The charset that should be used to encode the credentials. */
      @get:JvmName("charset")
      val charset: Charset
        get() {
          val charset = authParams["charset"]
          if (charset != null) {
            try {
              return Charset.forName(charset)
            } catch (ignore: Exception) {
            }
          }
          return ISO_8859_1
        }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue May 27 15:01:35 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/smb1/NetServerEnum2.java

        @Override
        int writeParametersWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
            byte[] descr;
            final int which = subCommand == NET_SERVER_ENUM2 ? 0 : 1;
    
            try {
                descr = DESCR[which].getBytes("ASCII");
            } catch (final UnsupportedEncodingException uee) {
                return 0;
            }
    
            writeInt2(subCommand & 0xFF, dst, dstIndex);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultClasspathTransformation.java

        @Override
        public ClasspathContainer transform(MetadataGraph dirtyGraph, ArtifactScopeEnum scope, boolean resolve)
                throws MetadataGraphTransformationException {
            try {
                if (dirtyGraph == null || dirtyGraph.isEmpty()) {
                    return null;
                }
    
                MetadataGraph cleanGraph = conflictResolver.resolveConflicts(dirtyGraph, scope);
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  10. helm/minio/templates/_helper_create_user.txt

          set +e ; # policy already attach errors out, allow it.
          ${MC} admin policy attach myminio $POLICY --user=$USER
          set -e
      else
          echo "User '$USER' has no policy attached."
      fi
    }
    
    # Try connecting to MinIO instance
    {{- if .Values.tls.enabled }}
    scheme=https
    {{- else }}
    scheme=http
    {{- end }}
    connectToMinio $scheme
    
    {{ if .Values.users }}
    {{ $global := . }}
    # Create the users
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Dec 12 23:43:32 GMT 2023
    - 3.2K bytes
    - Click Count (0)
Back to Top