Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 1,009 for SuppressWarnings (0.09 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/MapIsEmptyTester.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 MapIsEmptyTester<K, V> extends AbstractMapTester<K, V> {
      @CollectionSize.Require(ZERO)
      public void testIsEmpty_yes() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapReplaceValuesTester.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 ListMultimapReplaceValuesTester<K, V> extends AbstractListMultimapTester<K, V> {
      @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE})
      public void testReplaceValuesPreservesOrder() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapFeature.java

    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.util.Set;
    
    /**
     * Optional features of classes derived from {@code Multimap}.
     *
     * @author Louis Wasserman
     */
    @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package?
    @GwtCompatible
    public enum MultimapFeature implements Feature<Multimap> {
      VALUE_COLLECTIONS_SUPPORT_ITERATOR_REMOVE;
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Jan 30 16:59:10 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  4. compat/maven-model/src/main/java/org/apache/maven/model/InputLocationTracker.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.model;
    
    /**
     * Interface InputLocationTracker.
     *
     * @version $Revision$ $Date$
     */
    @SuppressWarnings("all")
    public interface InputLocationTracker {
    
        // -----------/
        // - Methods -/
        // -----------/
    
        /**
         * Gets the location of the specified field in the input
         * source.
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/SetMultimapReplaceValuesTester.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 SetMultimapReplaceValuesTester<K, V>
        extends AbstractMultimapTester<K, V, SetMultimap<K, V>> {
    
      @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE})
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/ListGetTester.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 ListGetTester<E> extends AbstractListTester<E> {
      public void testGet_valid() {
        // This calls get() on each index and checks the result:
        expectContents(createOrderedArray());
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

                  return edge;
                }
              } else {
                return edge;
              }
            }
            return endOfData();
          }
        };
      }
    
      @SuppressWarnings("unchecked")
      @Override
      public @Nullable V value(N node) {
        checkNotNull(node);
        Object value = adjacentNodeValues.get(node);
        if (value == PRED) {
          return null;
        }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/ObjectCountHashMap.java

      int nextIndex(int index) {
        return (index + 1 < size) ? index + 1 : -1;
      }
    
      int nextIndexAfterRemove(int oldNextIndex, @SuppressWarnings("unused") int removedIndex) {
        return oldNextIndex - 1;
      }
    
      int size() {
        return size;
      }
    
      @SuppressWarnings("unchecked")
      @ParametricNullness
      K getKey(int index) {
        checkElementIndex(index, size);
        return (K) keys[index];
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java

                  @Override
                  public SortedMultiset<E> create(Object... entries) {
                    @SuppressWarnings("unchecked")
                    // we dangerously assume E is a string
                    List<E> extremeValues = (List<E>) getExtremeValues();
                    @SuppressWarnings("unchecked")
                    // map generators must past entry objects
                    List<E> normalValues = (List<E>) asList(entries);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

            assertEquals(1, response2.getNum());
            assertEquals(1, response2.getTotal());
        }
    
        @Test
        @SuppressWarnings("unchecked")
        public void test_indexFromDocument() throws Exception {
            SuggestSettings settings = suggester.settings();
            String field = settings.array().get(SuggestSettings.DefaultKeys.SUPPORTED_FIELDS)[0];
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 37.4K bytes
    - Click Count (0)
Back to Top