- Sort Score
- Num 10 results
- Language All
Results 821 - 830 of 1,438 for SuppressWarnings (0.1 seconds)
-
android/guava/src/com/google/common/reflect/Parameter.java
public <A extends Annotation> A[] getDeclaredAnnotationsByType(Class<A> annotationType) { @Nullable A[] result = FluentIterable.from(annotations).filter(annotationType).toArray(annotationType); @SuppressWarnings("nullness") // safe because the input list contains no nulls A[] cast = (A[]) result; return cast; } @Override public boolean equals(@Nullable Object obj) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 4.2K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilderRequest.java
implements ToolchainsBuilderRequest { private final Source installationToolchainsSource; private final Source userToolchainsSource; @SuppressWarnings("checkstyle:ParameterNumber") DefaultToolchainsBuilderRequest( @Nonnull ProtoSession session, @Nullable RequestTrace trace,Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Feb 07 00:45:02 GMT 2025 - 6.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapKeysTester.java
*/ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class MultimapKeysTester<K, V> extends AbstractMultimapTester<K, V, Multimap<K, V>> { @CollectionSize.Require(SEVERAL) public void testKeys() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 4.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/eventbus/outside/AnnotatedNotAbstractInSuperclassTest.java
super.overriddenNotAnnotatedInSubclass(o); } @Subscribe @Override // We are testing how we treat an override with the same behavior and annotations. @SuppressWarnings("RedundantOverride") public void overriddenAndAnnotatedInSubclass(Object o) { super.overriddenAndAnnotatedInSubclass(o); } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 4.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java
return () -> { throw exception; }; } private static Runnable runnableThrowing(RuntimeException e) { return () -> { throw e; }; } @SuppressWarnings("serial") private static class SampleCheckedException extends Exception {}
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 4.1K bytes - Click Count (0) -
src/test/java/org/codelibs/core/collection/EnumerationIteratorTest.java
public void testConstructorWithNull() throws Exception { new EnumerationIterator<String>((Enumeration<String>) null); } /** * @throws Exception */ @SuppressWarnings("unused") @Test public void testIterable() throws Exception { final Vector<String> vector = new Vector<String>(); vector.add("a"); vector.add("b"); int count = 0;
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 3.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java
MavenExecutionResult result, MavenProject project) { this(container, request, result, Arrays.asList(new MavenProject[] {project})); } @Deprecated @SuppressWarnings("checkstyle:parameternumber") public MavenSession( PlexusContainer container, Settings settings, ArtifactRepository localRepository,Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 24 17:29:44 GMT 2025 - 16.7K bytes - Click Count (0) -
src/test/java/org/codelibs/core/collection/ArrayMapTest.java
assertThat(map.size(), is(5)); } /** * @throws Exception */ @Test public void testEqaulas() throws Exception { @SuppressWarnings("unchecked") Map<String, String> copy = (ArrayMap<String, String>) map.clone(); assertThat(map.equals(copy), is(true)); assertThat(map.equals(null), is(not(true))); map.put("3", "test3");
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 10.7K bytes - Click Count (0) -
src/main/java/org/codelibs/core/lang/FieldUtil.java
* @return the value represented by the {@code static} field * @throws IllegalAccessRuntimeException if the field cannot be accessed * @see Field#get(Object) */ @SuppressWarnings("unchecked") public static <T> T get(final Field field) throws IllegalAccessRuntimeException { assertArgumentNotNull("field", field); return (T) get(field, null); } /**Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 9.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/DoublesTest.java
// We need to test that our method behaves like the JDK method. @SuppressWarnings("InlineMeInliner") public void testHashCode() { for (double value : VALUES) { assertThat(Doubles.hashCode(value)).isEqualTo(Double.hashCode(value)); } } @SuppressWarnings("InlineMeInliner") // We need to test our method. public void testIsFinite() { for (double value : NUMBERS) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 30.9K bytes - Click Count (0)