Search Options

Results per page
Sort
Preferred Languages
Advance

Results 491 - 500 of 1,007 for SuppressWarnings (0.07 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java

            final boolean isApiRequest =
                    !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 Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbCopyUtil.java

                log.warn("Copy failed", se);
            }
        }
    
        /**
         * @param src
         * @param dest
         * @param sh
         * @param dh
         * @throws SmbException
         */
        @SuppressWarnings("resource")
        private static void serverSideCopy(final SmbFile src, final SmbFile dest, final SmbTreeHandleImpl sh, final SmbTreeHandleImpl dh,
                final boolean write) throws CIFSException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/LogHelperImpl.java

        protected void processProcessChildUrlsByException(final Object... objs) {
            // CrawlerContext crawlerContext = (CrawlerContext) objs[0];
            final UrlQueue<?> urlQueue = (UrlQueue<?>) objs[1];
            @SuppressWarnings("unchecked")
            final Set<RequestData> requestDataSet = (Set<RequestData>) objs[2];
            if (logger.isDebugEnabled()) {
                for (final RequestData requestData : requestDataSet) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top