- Sort Score
- Num 10 results
- Language All
Results 991 - 1000 of 1,450 for SuppressWarnings (0.11 seconds)
-
guava-testlib/src/com/google/common/collect/testing/testers/ReflectionFreeAssertThrows.java
try { result = supplier.get(); } catch (Throwable t) { if (predicate.apply(t)) { // We are careful to set up INSTANCE_OF to match each Predicate to its target Class. @SuppressWarnings("unchecked") T caught = (T) t; return caught; } throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but threw " + t, t); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.9K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t02/ProjectInheritanceTest.java
* each model in the lineage is providing a value that is not present * anywhere else in the lineage. We are just making sure that values * down in the lineage are bubbling up where they should. * */ @Deprecated @SuppressWarnings("checkstyle:UnusedLocalVariable") class ProjectInheritanceTest extends AbstractProjectInheritanceTestCase { // ---------------------------------------------------------------------- // // p4 inherits from p3Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jun 04 10:35:11 GMT 2025 - 6.3K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java
@Deprecated public Map<String, Lifecycle> getPhaseToLifecycleMap() { return defaultLifeCycles.getPhaseToLifecycleMap(); } // Used by m2eclipse @Override @SuppressWarnings({"UnusedDeclaration"}) public MavenExecutionPlan calculateExecutionPlan(MavenSession session, boolean setup, String... tasks)Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 7.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java
import java.util.LinkedHashSet; import java.util.Set; import java.util.SortedSet; /** * Optional features of classes derived from {@code Collection}. * * @author George van den Driessche */ @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package? @GwtCompatible public enum CollectionFeature implements Feature<Collection> { /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Oct 30 16:15:19 GMT 2024 - 4.1K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/AbstractByteHasher.java
} else { for (int remaining = b.remaining(); remaining > 0; remaining--) { update(b.get()); } } } /** Updates the sink with the given number of bytes from the buffer. */ @SuppressWarnings("ByteBufferBackingArray") // We created the array with ByteBuffer.allocate(). @CanIgnoreReturnValue private Hasher update(ByteBuffer scratch, int bytes) { try { update(scratch.array(), 0, bytes);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 12:40:17 GMT 2025 - 3.9K bytes - Click Count (0) -
android/guava/src/com/google/common/escape/Escaper.java
* UnicodeEscaper}. * * @author David Beaumont * @since 15.0 */ @DoNotMock("Use Escapers.nullEscaper() or another methods from the *Escapers classes") @GwtCompatible @SuppressWarnings("EscapedEntity") // We do mean for the user to see "<" etc. public abstract class Escaper { // TODO(dbeaumont): evaluate custom implementations, considering package private constructor.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 15:45:16 GMT 2025 - 4.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ForwardingSortedMapTest.java
MapFeature.REJECTS_DUPLICATES_AT_CREATION, MapFeature.ALLOWS_ANY_NULL_QUERIES) .createTestSuite()); return suite; } @SuppressWarnings({"rawtypes", "unchecked"}) public void testForwarding() { new ForwardingWrapperTester() .testForwarding( SortedMap.class, new Function<SortedMap, SortedMap>() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 20:34:52 GMT 2025 - 7.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java
dstIndex++; dst[dstIndex++] = (byte) 0x00; SMBUtil.writeInt2(this.passwordLength, dst, dstIndex); return 4; } @SuppressWarnings("deprecation") private static boolean isExternalAuth(final NtlmPasswordAuthenticator pwAuth) { return pwAuth instanceof jcifs.smb.NtlmPasswordAuthenticationCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/StaticJAASConfigurationTest.java
// Arrange: create a regular map first, then spy on it Map<String, Object> originalMap = new HashMap<>(); originalMap.put("refreshKrb5Config", "true"); @SuppressWarnings("unchecked") Map<String, Object> spyOpts = spy(originalMap); // Reset the spy to clear any prior invocations from setup reset(spyOpts);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/SortedSetTestSuiteBuilder.java
SortedSetTestSuiteBuilder<E> builder = new SortedSetTestSuiteBuilder<>(); builder.usingGenerator(generator); return builder; } @SuppressWarnings("rawtypes") // class literals @Override protected List<Class<? extends AbstractTester>> getTesters() { List<Class<? extends AbstractTester>> testers = copyToList(super.getTesters());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Oct 30 16:15:19 GMT 2024 - 4.9K bytes - Click Count (0)