- Sort Score
- Result 10 results
- Languages All
Results 301 - 310 of 515 for Unchecked (0.04 sec)
-
src/main/java/org/codelibs/fess/util/ComponentUtil.java
* Gets a component by its class type. * @param <T> The type of the component. * @param clazz The class of the component to retrieve. * @return The component instance. */ @SuppressWarnings("unchecked") public static <T> T getComponent(final Class<T> clazz) { try { return SingletonLaContainer.getComponent(clazz); } catch (final NullPointerException e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 28.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/ComparisonChain.java
public static ComparisonChain start() { return ACTIVE; } private static final ComparisonChain ACTIVE = new ComparisonChain() { @SuppressWarnings("unchecked") // unsafe; see discussion on supertype @Override public ComparisonChain compare(Comparable<?> left, Comparable<?> right) { return classify(((Comparable<Object>) left).compareTo(right)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 11.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeBasedTable.java
@Override public Comparator<? super C> comparator() { return columnComparator(); } int compare(Object a, Object b) { // pretend we can compare anything @SuppressWarnings("unchecked") Comparator<Object> cmp = (Comparator<Object>) comparator(); return cmp.compare(a, b); } boolean rangeContains(@Nullable Object o) { return o != null
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 18 15:05:43 UTC 2025 - 11.6K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/Cache.java
* * <p>No observable state associated with this cache is modified until loading completes. * * @throws ExecutionException if a checked exception was thrown while loading the value * @throws UncheckedExecutionException if an unchecked exception was thrown while loading the * value * @throws ExecutionError if an error was thrown while loading the value * @since 11.0 */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 8.3K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java
CheckSetUpHashMapGenerator(AtomicBoolean setUpRan) { this.setUpRan = setUpRan; } @Override Map<String, String> wrap(HashMap<String, String> map) { @SuppressWarnings("unchecked") Map<String, String> proxy = Reflection.newProxy(Map.class, new CheckSetUpInvocationHandler(map, setUpRan)); return proxy; } } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu May 22 16:18:11 UTC 2025 - 11.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Streams.java
} catch (Exception e) { // sneaky checked exception if (exception == null) { exception = e; } else { exception.addSuppressed(e); } } } if (exception != null) { // Normally this is a RuntimeException that doesn't need sneakyThrow. // But theoretically we could see sneaky checked exception sneakyThrow(exception); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 37K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java
*/ private WeakReference<?> doTestClassUnloading() throws Exception { URLClassLoader shadowLoader = new URLClassLoader(parseJavaClassPath(), null); @SuppressWarnings("unchecked") Class<WillBeUnloadedException> shadowClass = (Class<WillBeUnloadedException>) Class.forName(WillBeUnloadedException.class.getName(), false, shadowLoader);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 16.4K bytes - Viewed (0) -
guava/src/com/google/common/eventbus/SubscriberRegistry.java
return subscriberMethodsCache.getUnchecked(clazz); } catch (UncheckedExecutionException e) { if (e.getCause() instanceof IllegalArgumentException) { /* * IllegalArgumentException is the one unchecked exception that we know is likely to happen * (thanks to the checkArgument calls in getAnnotatedMethodsNotCached). If it happens, we'd
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 10.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/ObjectArrays.java
* * @param type the component type * @param length the length of the new array */ @GwtIncompatible // Array.newInstance(Class, int) @SuppressWarnings("unchecked") public static <T extends @Nullable Object> T[] newArray(Class<@NonNull T> type, int length) { return (T[]) Array.newInstance(type, length); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/Kerb5Context.java
log.debug("Found ExtendedGSSContext implementation: " + EXT_GSS_CONTEXT_CLASS.getName()); } } @SuppressWarnings("unchecked") private static <T extends Enum<T>> Object getSessionKeyInquireType(Class<?> inquireTypeClass) { return Enum.valueOf((Class<T>) inquireTypeClass, "KRB5_GET_SESSION_KEY"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 13.5K bytes - Viewed (1)