- Sort Score
- Num 10 results
- Language All
Results 461 - 470 of 1,438 for SuppressWarnings (0.11 seconds)
-
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileActivationContext.java
* * @param systemProperties The system properties, may be {@code null}. * @return This context, never {@code null}. */ @SuppressWarnings("unchecked") public DefaultProfileActivationContext setSystemProperties(Properties systemProperties) { if (systemProperties != null) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 7.4K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/Striped.java
* } * * If we only held the int[] stripes, translating it on the fly to L's, the original locks might * be garbage collected after locking them, ending up in a huge mess. */ @SuppressWarnings("unchecked") // we carefully replaced all keys with their respective L's List<L> asStripes = (List<L>) result; return Collections.unmodifiableList(asStripes); } // Static factories /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 16 22:01:32 GMT 2025 - 20.6K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/base/SplitterBenchmark.java
String text; private String input; private static final Splitter CHAR_SPLITTER = Splitter.on('X'); private static final Splitter STRING_SPLITTER = Splitter.on("X"); @BeforeExperiment @SuppressWarnings("InlineMeInliner") // String.repeat unavailable under Java 8 void setUp() { input = Strings.repeat(text, length); } @Benchmark int charSplitter(int reps) { int total = 0;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 1.8K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/TestStringSortedSetGenerator.java
* While the current implementation returns `this`, that's not something we mean to guarantee. * Callers of TestContainerGenerator.order need to be prepared for implementations to return a new * collection. */ @SuppressWarnings("CanIgnoreReturnValueSuggester") @Override public List<String> order(List<String> insertionOrder) { sort(insertionOrder); return insertionOrder; } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Feb 11 19:03:19 GMT 2025 - 2K bytes - Click Count (0) -
guava/src/com/google/common/base/Ticker.java
* * @since 10.0 */ public static Ticker systemTicker() { return SYSTEM_TICKER; } private static final Ticker SYSTEM_TICKER = new Ticker() { @Override @SuppressWarnings("GoodTime") // reading system time without TimeSource public long read() { return System.nanoTime(); } };
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 1.8K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/ListFeature.java
import java.lang.annotation.RetentionPolicy; import java.util.List; import java.util.Set; /** * Optional features of classes derived from {@code List}. * * @author George van den Driessche */ @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package? @GwtCompatible public enum ListFeature implements Feature<List> { SUPPORTS_SET, SUPPORTS_ADD_WITH_INDEX(CollectionFeature.SUPPORTS_ADD),Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Oct 30 16:15:19 GMT 2024 - 2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountUnconditionallyTester.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 MultisetSetCountUnconditionallyTester<E> extends AbstractMultisetSetCountTester<E> { @Override void setCountCheckReturnValue(E element, int count) { assertEquals(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 1.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ForwardingListMultimapTest.java
/** * Unit test for {@link ForwardingListMultimap}. * * @author Kurt Alfred Kluever */ @NullUnmarked public class ForwardingListMultimapTest extends TestCase { @SuppressWarnings("rawtypes") public void testForwarding() { new ForwardingWrapperTester() .testForwarding( ListMultimap.class, new Function<ListMultimap, ListMultimap<?, ?>>() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 2K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ForwardingListMultimapTest.java
/** * Unit test for {@link ForwardingListMultimap}. * * @author Kurt Alfred Kluever */ @NullUnmarked public class ForwardingListMultimapTest extends TestCase { @SuppressWarnings("rawtypes") public void testForwarding() { new ForwardingWrapperTester() .testForwarding( ListMultimap.class, new Function<ListMultimap, ListMultimap<?, ?>>() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 2K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ForwardingSetMultimapTest.java
/** * Unit test for {@link ForwardingSetMultimap}. * * @author Kurt Alfred Kluever */ @NullUnmarked public class ForwardingSetMultimapTest extends TestCase { @SuppressWarnings("rawtypes") public void testForwarding() { new ForwardingWrapperTester() .testForwarding( SetMultimap.class, new Function<SetMultimap, SetMultimap<?, ?>>() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 1.9K bytes - Click Count (0)