- Sort Score
- Result 10 results
- Languages All
Results 481 - 490 of 985 for SuppressWarnings (0.08 sec)
-
src/test/java/org/codelibs/fess/util/MemoryUtilTest.java
// Test multiple calls to ensure consistency long memory1 = MemoryUtil.getUsedMemory(); assertTrue(memory1 >= 0); // Create some objects to change memory usage @SuppressWarnings("unused") String[] largeArray = new String[1000]; for (int i = 0; i < 1000; i++) { largeArray[i] = "test" + i; } long memory2 = MemoryUtil.getUsedMemory();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 11.8K bytes - Viewed (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); } /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 9.8K bytes - Viewed (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");
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 10.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SortedSetMultimapTestSuiteBuilder.java
TestSetMultimapGenerator<K, V> generator) { SortedSetMultimapTestSuiteBuilder<K, V> result = new SortedSetMultimapTestSuiteBuilder<>(); result.usingGenerator(generator); return result; } @SuppressWarnings("rawtypes") // class literals @Override protected List<Class<? extends AbstractTester>> getTesters() { List<Class<? extends AbstractTester>> testers = copyToList(super.getTesters());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapContainsKeyTester.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 MapContainsKeyTester<K, V> extends AbstractMapTester<K, V> { @CollectionSize.Require(absent = ZERO) public void testContains_yes() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 26 21:06:36 UTC 2025 - 3.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapToStringTester.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 MapToStringTester<K, V> extends AbstractMapTester<K, V> { public void testToString_minimal() { assertNotNull("toString() should not return null", getMap().toString()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/SortedSetNavigationTester.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") @NullMarked public class SortedSetNavigationTester<E extends @Nullable Object> extends AbstractSetTester<E> { private SortedSet<E> sortedSet; private List<E> values;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ReverseOrdering.java
this.forwardOrder = checkNotNull(forwardOrder); } @Override public int compare(@ParametricNullness T a, @ParametricNullness T b) { return forwardOrder.compare(b, a); } @SuppressWarnings("unchecked") // how to explain? @Override public <S extends T> Ordering<S> reverse() { return (Ordering<S>) forwardOrder; } // Override the min/max methods to "hoist" delegation outside loops
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jun 04 13:03:16 UTC 2025 - 3.2K bytes - Viewed (0) -
android/guava/src/com/google/common/escape/ArrayBasedEscaperMap.java
for (Character c : map.keySet()) { replacements[c] = map.get(c).toCharArray(); } return replacements; } // Immutable empty array for when there are no replacements. @SuppressWarnings("ConstantCaseForConstants") // An empty array is a constant. private static final char[][] EMPTY_REPLACEMENT_ARRAY = new char[0][0];
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 28 01:26:26 UTC 2024 - 3.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/AbstractBiMapTester.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") @NullMarked public abstract class AbstractBiMapTester<K extends @Nullable Object, V extends @Nullable Object> extends AbstractMapTester<K, V> { @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.3K bytes - Viewed (0)