- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 330 for SuppressWarnings (0.12 seconds)
-
src/test/java/org/codelibs/core/crypto/CachedCipherTest.java
@SuppressWarnings("deprecation") final String encrypted1 = cipher.encryptText(original); @SuppressWarnings("deprecation") final String decrypted1 = cipher.decryptoText(encrypted1); assertThat(decrypted1, is(original)); // Encrypt with old method, decrypt with new method @SuppressWarnings("deprecation")Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 5.3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java
public Set<Object> create(Object... elements) { return ImmutableSet.copyOf(elements); } } public static class DegeneratedImmutableSetGenerator extends TestStringSetGenerator { @SuppressWarnings("DistinctVarargsChecker") // deliberately testing deduplication @Override protected Set<String> create(String[] elements) { return ImmutableSet.of(elements[0], elements[0]); } }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 08 18:35:13 GMT 2025 - 15.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java
/** * Tests for {@link Multimap#putAll(Object, Iterable)}. * * @author Louis Wasserman */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build") @SuppressWarnings({ // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. "JUnit4ClassUsedInJUnit3", // We use ::iterator so that we test passing a plain Iterable, not a Collection.Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 7.4K bytes - Click Count (0) -
okhttp-dnsoverhttps/src/main/java9/module-info.java
@SuppressWarnings("module") module okhttp3.dnsoverhttps { requires okhttp3; exports okhttp3.dnsoverhttps;Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Sep 21 06:22:22 GMT 2025 - 112 bytes - Click Count (0) -
android/guava/src/com/google/common/collect/DenseImmutableTable.java
private final ImmutableMap<C, ImmutableMap<R, V>> columnMap; @SuppressWarnings("Immutable") // We don't modify this after construction. private final int[] rowCounts; @SuppressWarnings("Immutable") // We don't modify this after construction. private final int[] columnCounts; @SuppressWarnings("Immutable") // We don't modify this after construction. private final @Nullable V[][] values;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 9.6K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java
} @SuppressWarnings("unused") // for NullPointerTester private static class SubclassOverridesTheWrongMethod extends BaseClassThatFailsToThrow { @Keep public void oneArg(@Nullable CharSequence s) {} } public void testSubclassOverridesTheWrongMethod() { shouldFail(new SubclassOverridesTheWrongMethod()); } @SuppressWarnings("unused") // for NullPointerTesterCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 18:44:53 GMT 2025 - 47.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/OptionalTest.java
} @SuppressWarnings("OptionalOfRedundantMethod") // Unit tests for Optional public void testOr_t_present() { assertEquals("a", Optional.of("a").or("default")); } public void testOr_t_absent() { assertEquals("default", Optional.absent().or("default")); } @SuppressWarnings("OptionalOfRedundantMethod") // Unit tests for OptionalCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 10.5K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java
String a, int b, // oneConstantOnly doesn't matter since it's not nullable and can be only 1 value. @SuppressWarnings("unused") OneConstantEnum oneConstantOnly, // noConstant doesn't matter since it can only be null @SuppressWarnings("unused") @Nullable NoConstantEnum noConstant) { return new GoodEquals(a, b); } // instance method ignoredCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 36.3K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/XmlUtilTest.java
Map<String, Object> dataMap = XmlUtil.getDataMap(accessResultData); assertNotNull(dataMap); assertTrue(dataMap.get("tags") instanceof List); @SuppressWarnings("unchecked") List<String> tags = (List<String>) dataMap.get("tags"); assertEquals(3, tags.size()); assertEquals("tag1", tags.get(0)); assertEquals("tag2", tags.get(1));Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Mon Nov 24 03:59:47 GMT 2025 - 8.3K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenContext.java
import org.apache.maven.api.cli.InvokerRequest; import org.apache.maven.api.cli.mvn.MavenOptions; import org.apache.maven.cling.invoker.LookupContext; import org.apache.maven.cling.transfer.SimplexTransferListener; @SuppressWarnings("VisibilityModifier") public class MavenContext extends LookupContext { public MavenContext(InvokerRequest invokerRequest, boolean containerCapsuleManaged, MavenOptions mavenOptions) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Sep 11 17:20:46 GMT 2025 - 1.7K bytes - Click Count (0)