- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for Suppression (0.06 sec)
-
src/test/java/org/codelibs/fess/exception/FessSystemExceptionTest.java
// Test protected constructor with suppression enabled String message = "Test with suppression"; TestFessSystemException exception = new TestFessSystemException(message, true, true); assertEquals(message, exception.getMessage()); assertNull(exception.getCause()); // Test that suppression is enabled
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ContentNotFoundExceptionTest.java
public void test_suppressionAndStackTrace() { // Test that suppression and stack trace are disabled (as per constructor) String parentUrl = "http://example.com/parent"; String url = "http://example.com/child"; ContentNotFoundException exception = new ContentNotFoundException(parentUrl, url); // Verify that suppression is disabled try {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.8K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/NullnessCasts.java
* typically useful for {@code return} statements. That leaves the code with two options: Either * add the suppression to the whole method (which turns off checking for a large section of code), * or extract a variable, and put the suppression on that. However, a local variable typically * doesn't work: Because nullness analyses typically infer the nullness of local variables,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 13 20:49:47 UTC 2025 - 4K bytes - Viewed (0) -
guava/src/com/google/common/base/NullnessCasts.java
* typically useful for {@code return} statements. That leaves the code with two options: Either * add the suppression to the whole method (which turns off checking for a large section of code), * or extract a variable, and put the suppression on that. However, a local variable typically * doesn't work: Because nullness analyses typically infer the nullness of local variables,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 13 20:49:47 UTC 2025 - 3.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessJsonResourceProviderTest.java
// Comprehensive test to verify all methods return expected values FessJsonResourceProvider testProvider = new FessJsonResourceProvider(); // Verify nulls suppression is enabled assertTrue("Nulls should be suppressed", testProvider.isNullsSuppressed()); // Verify pretty print is enabled
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/FilteredEntryMultimap.java
ValuesImpl() { super(AsMap.this); } @Override /* * For discussion of equality in Multimap value collections, see the suppression for * UndefinedEquals in AbstractMapBasedMultimap. */ @SuppressWarnings("UndefinedEquals") public boolean remove(@Nullable Object o) { if (o instanceof Collection) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 12.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableCollection.java
public final Object[] toArray() { return toArray(EMPTY_ARRAY); } @CanIgnoreReturnValue @Override /* * This suppression is here for two reasons: * * 1. b/192354773 in our checker affects toArray declarations. * * 2. `other[size] = null` is unsound. We could "fix" this by requiring callers to pass in an
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSet.java
* @since 7.0 (source-compatible since 2.0) */ // This the best we could do to get copyOfEnumSet to compile in the mainline. // The suppression also covers the cast to E[], discussed below. // In the backport, we don't have those cases and thus don't need this suppression. // We keep it to minimize diffs. @SuppressWarnings("unchecked") public static <E> ImmutableSet<E> copyOf(Collection<? extends E> elements) { /*
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 35.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableCollection.java
public final Object[] toArray() { return toArray(EMPTY_ARRAY); } @CanIgnoreReturnValue @Override /* * This suppression is here for two reasons: * * 1. b/192354773 in our checker affects toArray declarations. * * 2. `other[size] = null` is unsound. We could "fix" this by requiring callers to pass in an
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/FilteredEntryMultimap.java
ValuesImpl() { super(AsMap.this); } @Override /* * For discussion of equality in Multimap value collections, see the suppression for * UndefinedEquals in AbstractMapBasedMultimap. */ @SuppressWarnings("UndefinedEquals") public boolean remove(@Nullable Object o) { if (o instanceof Collection) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 12.3K bytes - Viewed (0)