Search Options

Results per page
Sort
Preferred Languages
Advance

Results 961 - 970 of 1,105 for SuppressWarnings (0.07 sec)

  1. android/guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java

        for (int z = 1; z <= 100; z++) {
          multimap.put("a", z);
          // The Eclipse compiler (and hence GWT) rejects a parameterized cast.
          @SuppressWarnings("unchecked")
          LinkedHashMultimap<String, Integer>.ValueSet valueSet =
              (LinkedHashMultimap.ValueSet) multimap.backingMap().get("a");
          assertEquals(z, valueSet.size());
          assertFalse(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

            this.repositoryEventDispatcher =
                    Objects.requireNonNull(repositoryEventDispatcher, "repositoryEventDispatcher cannot be null");
        }
    
        @SuppressWarnings("checkstyle:methodlength")
        @Override
        public VersionResult resolveVersion(RepositorySystemSession session, VersionRequest request)
                throws VersionResolutionException {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 08:42:00 UTC 2025
    - 20.2K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java

            this.basedir = basedir;
        }
    
        @Override
        public Object evaluate(String expr) throws ExpressionEvaluationException {
            return evaluate(expr, null);
        }
    
        @Override
        @SuppressWarnings("checkstyle:methodlength")
        public Object evaluate(String expr, Class<?> type) throws ExpressionEvaluationException {
            Object value = null;
    
            if (expr == null) {
                return null;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  4. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java

        }
    
        /**
         * Test: deleteByQuery deprecated method delegates to new method
         * Verifies backward compatibility
         */
        @Test
        @SuppressWarnings("deprecation")
        public void testDeleteByQueryDeprecatedMethodDelegates() {
            final SearchRequestBuilder mockSearchBuilder = mock(SearchRequestBuilder.class);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:44:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFileInputStream.java

         * @param url the SMB URL to read from
         * @param tc
         *            context to use
         * @throws SmbException if an SMB error occurs
         * @throws MalformedURLException if the URL is malformed
         */
        @SuppressWarnings("resource")
        public SmbFileInputStream(final String url, final CIFSContext tc) throws SmbException, MalformedURLException {
            this(new SmbFile(url, tc), 0, SmbConstants.O_RDONLY, SmbConstants.DEFAULT_SHARING, true);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java

        private static final Logger LOGGER = LoggerFactory.getLogger(MojoExecutor.class);
        private static final SessionData.Key<ProjectIndex> PROJECT_INDEX = SessionData.key(ProjectIndex.class);
    
        @SuppressWarnings({"unchecked", "rawtypes"})
        private static final SessionData.Key<Map<MavenProject, OwnerReentrantLock>> PROJECT_LOCKS =
                (SessionData.Key) SessionData.key(Map.class, ProjectLock.class);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jun 12 14:55:55 UTC 2025
    - 21K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

        void sendWithRequestVarargsDelegates() throws Exception {
            // Verifies Request<T> overload forwards to the varargs form with a null response
            @SuppressWarnings("unchecked")
            Request<CommonServerMessageBlockResponse> req = mock(Request.class);
            CommonServerMessageBlockResponse resp = mock(CommonServerMessageBlockResponse.class);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.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 abstract class AbstractMultisetSetCountTester<E> extends AbstractMultisetTester<E> {
      /*
       * TODO: consider adding MultisetFeatures.SUPPORTS_SET_COUNT. Currently we
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 13K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

                    com.google.inject.Key<U> k = toGuiceKey(key);
                    this.binder.bind(k).toProvider(new BridgeProvider<>(binding));
                }
                return this;
            }
    
            @SuppressWarnings("unchecked")
            private static <U> com.google.inject.Key<U> toGuiceKey(Key<U> key) {
                if (key.getQualifier() instanceof String s) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 16:01:38 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/CompactLinkedHashSet.java

        return (indexBeforeRemove >= size()) ? indexRemoved : indexBeforeRemove;
      }
    
      @Override
      public @Nullable Object[] toArray() {
        return ObjectArrays.toArrayImpl(this);
      }
    
      @Override
      @SuppressWarnings("nullness") // b/192354773 in our checker affects toArray declarations
      public <T extends @Nullable Object> T[] toArray(T[] a) {
        return ObjectArrays.toArrayImpl(this, a);
      }
    
      @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 14:59:07 UTC 2025
    - 9.4K bytes
    - Viewed (0)
Back to top