Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1011 - 1020 of 1,497 for match1 (0.04 seconds)

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

        assertEquals(RUNTIME_EXCEPTION, expected);
      }
    
      public void testGetUnchecked_error() {
        try {
          getUnchecked(ERROR_FUTURE);
        } catch (Error expected) {
          assertEquals(ERROR, expected);
          return;
        }
        fail();
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/FuturesGetUncheckedTest.java

        assertEquals(RUNTIME_EXCEPTION, expected);
      }
    
      public void testGetUnchecked_error() {
        try {
          getUnchecked(ERROR_FUTURE);
        } catch (Error expected) {
          assertEquals(ERROR, expected);
          return;
        }
        fail();
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileSelector.java

                try {
                    if (activator.presentInConfig(profile, context, problems)) {
                        isActive &= activator.isActive(profile, context, problems);
                    }
                } catch (RuntimeException e) {
                    problems.add(new ModelProblemCollectorRequest(Severity.ERROR, Version.BASE)
                            .setMessage(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/BaseParserTest.java

                try {
                    return CommonsCliOptions.parse(
                            "test", context.parserRequest.args().toArray(new String[0]));
                } catch (ParseException e) {
                    throw new IllegalArgumentException(e);
                }
            }
        };
    
        @Test
        void happy() {
            InvokerRequest invokerRequest =
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  5. compat/maven-model/src/test/java/org/apache/maven/model/v4/Xpp3DomPerfTest.java

                    reader.setAddLocationInformation(false);
                    reader.read(is, true, InputSource.of("id", pom.toString()));
                    i++;
                } catch (XMLStreamException e) {
                    throw new RuntimeException("Error parsing: " + pom, e);
                }
            }
            return i;
        }
    
        /**
         * <p>main.</p>
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/score/ScoreUpdater.java

            scoreBoosterList.forEach(b -> {
                try {
                    final long count = b.process();
                    resultBuf.append(b.getClass().getSimpleName()).append(" : ").append(count).append('\n');
                } catch (final Exception e) {
                    logger.warn("Failed to update scores: booster={}", b.getClass().getSimpleName(), e);
                    resultBuf.append(e.getMessage()).append('\n');
                }
            });
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 2K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/opensearch/log/exbhv/FavoriteLogBhv.java

                try {
                    final Instant instant = Instant.from(DateTimeFormatter.ISO_INSTANT.parse(value.toString()));
                    return LocalDateTime.ofInstant(instant, ZoneId.systemDefault());
                } catch (final DateTimeParseException e) {
                    logger.debug("Invalid date format: {}", value, e);
                }
            }
            return DfTypeUtil.toLocalDateTime(value);
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/JapicmpTaskWithKotlin.java

                ConfigurableFileCollection additionalJapicmpClasspath = (ConfigurableFileCollection) additionalJapicmpClasspathField.get(this);
                additionalJapicmpClasspath.from(resolveKotlinCompilerEmbeddable());
            } catch (Exception e) {
                throw new RuntimeException("Got an error while patching JapicmpTask task", e);
            }
        }
    
        private Configuration resolveKotlinCompilerEmbeddable() {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Jan 19 11:30:48 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/core/beans/converter/NumberConverter.java

        public Object getAsObject(final String value) {
            if (StringUtil.isEmpty(value)) {
                return null;
            }
            try {
                return new DecimalFormat(pattern).parse(value);
            } catch (final ParseException e) {
                throw new ParseRuntimeException(e);
            }
    
        }
    
        @Override
        public String getAsString(final Object value) {
            if (value == null) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb1/smb1/SmbComNegotiate.java

            return 0;
        }
    
        @Override
        int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            byte[] dialects;
            try {
                dialects = DIALECTS.getBytes("ASCII");
            } catch (final UnsupportedEncodingException uee) {
                return 0;
            }
            System.arraycopy(dialects, 0, dst, dstIndex, dialects.length);
            return dialects.length;
        }
    
        @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 2K bytes
    - Click Count (0)
Back to Top