Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 555 for unchecked (0.14 sec)

  1. src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java

                    !SearchRequestType.SEARCH.equals(searchRequestType) && !SearchRequestType.ADMIN_SEARCH.equals(searchRequestType);
    
            if (request != null) {
                @SuppressWarnings("unchecked")
                final Set<String> list = (Set<String>) request.getAttribute(USER_ROLES);
                if (list != null) {
                    return list;
                }
    
                // request parameter
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 25 01:48:41 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ForwardingCollectionTest.java

                .withFeatures(CollectionSize.ANY, CollectionFeature.ALLOWS_NULL_VALUES)
                .createTestSuite());
    
        return suite;
      }
    
      @SuppressWarnings({"rawtypes", "unchecked"})
      public void testForwarding() {
        new ForwardingWrapperTester()
            .testForwarding(
                Collection.class,
                new Function<Collection, Collection>() {
                  @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ForwardingQueueTest.java

                    CollectionFeature.ALLOWS_NULL_VALUES,
                    CollectionFeature.GENERAL_PURPOSE)
                .createTestSuite());
    
        return suite;
      }
    
      @SuppressWarnings({"rawtypes", "unchecked"})
      public void testForwarding() {
        new ForwardingWrapperTester()
            .testForwarding(
                Queue.class,
                new Function<Queue, Queue>() {
                  @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/MapRetrievalCache.java

      @CheckForNull private transient volatile CacheEntry<K, V> cacheEntry2;
    
      MapRetrievalCache(Map<K, V> backingMap) {
        super(backingMap);
      }
    
      @SuppressWarnings("unchecked") // Safe because we only cast if key is found in map.
      @Override
      @CheckForNull
      V get(Object key) {
        checkNotNull(key);
        V value = getIfCached(key);
        if (value != null) {
          return value;
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  5. guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java

            return;
          }
        }
        fail(
            rootLocaleFormat(
                "Feature enum %s should contain an " + "annotation named 'Require'.",
                featureEnumClass));
      }
    
      @SuppressWarnings("unchecked")
      private static Class<? extends Annotation> asAnnotation(Class<?> clazz) {
        if (clazz.isAnnotation()) {
          return (Class<? extends Annotation>) clazz;
        } else {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:09:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/AbstractIteratorTest.java

      // hasNext/next), but we'll cop out for now, knowing that
      // next() both start by invoking hasNext() anyway.
    
      /** Throws an undeclared checked exception. */
      private static void sneakyThrow(Throwable t) {
        class SneakyThrower<T extends Throwable> {
          @SuppressWarnings("unchecked") // intentionally unsafe for test
          void throwIt(Throwable t) throws T {
            throw (T) t;
          }
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponse.java

        public final FileInformation getInfo () {
            return this.info;
        }
    
    
        /**
         * 
         * @param type
         * @return the info
         * @throws CIFSException
         */
        @SuppressWarnings ( "unchecked" )
        public <T extends FileInformation> T getInfo ( Class<T> type ) throws CIFSException {
            if ( !type.isAssignableFrom(this.info.getClass()) ) {
                throw new CIFSException("Incompatible file information class");
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

        }
      }
    
      /**
       * Returns the empty sorted map.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      @SuppressWarnings("unchecked")
      // unsafe, comparator() returns a comparator on the specified type
      // TODO(kevinb): evaluate whether or not of().comparator() should return null
      public static <K, V> ImmutableSortedMap<K, V> of() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableList.java

          return this;
        }
    
        private void add(@Nullable Object[] elements, int n) {
          ensureRoomFor(n);
          /*
           * The following call is not statically checked, since arraycopy accepts plain Object for its
           * parameters. If it were statically checked, the checker would still be OK with it, since
           * we're copying into a `contents` array whose type allows it to contain nulls. Still, it's
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 16 19:14:45 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/graph/MapRetrievalCache.java

      @CheckForNull private transient volatile CacheEntry<K, V> cacheEntry2;
    
      MapRetrievalCache(Map<K, V> backingMap) {
        super(backingMap);
      }
    
      @SuppressWarnings("unchecked") // Safe because we only cast if key is found in map.
      @Override
      @CheckForNull
      V get(Object key) {
        checkNotNull(key);
        V value = getIfCached(key);
        if (value != null) {
          return value;
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 3.2K bytes
    - Viewed (0)
Back to top