Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1021 - 1030 of 1,438 for SuppressWarnings (0.08 seconds)

  1. src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoResponse.java

         *            the class type to cast the information to
         * @return the information
         * @throws CIFSException
         *             if the information cannot be cast to the specified type
         */
        @SuppressWarnings("unchecked")
        public <T extends Decodable> T getInfo(final Class<T> clazz) throws CIFSException {
            if (!clazz.isAssignableFrom(this.info.getClass())) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblem.java

         * @param exception The exception that caused this problem, may be {@code null}.
         */
        // mkleint: does this need to be public?
        @SuppressWarnings("checkstyle:parameternumber")
        public DefaultModelProblem(
                String message,
                Severity severity,
                Version version,
                String source,
                int lineNumber,
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapAsMapGetTester.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 MultimapAsMapGetTester<K, V> extends AbstractMultimapTester<K, V, Multimap<K, V>> {
    
      @CollectionSize.Require(SEVERAL)
      @MapFeature.Require(SUPPORTS_REMOVE)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 5.1K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapTestSuiteBuilder.java

          TestSetMultimapGenerator<K, V> generator) {
        SetMultimapTestSuiteBuilder<K, V> result = new SetMultimapTestSuiteBuilder<>();
        result.usingGenerator(generator);
        return result;
      }
    
      @SuppressWarnings("rawtypes") // class literals
      @Override
      protected List<Class<? extends AbstractTester>> getTesters() {
        List<Class<? extends AbstractTester>> testers = copyToList(super.getTesters());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.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")
    @IgnoreJRERequirement // We opt into library desugaring for our tests.
    public class MapPutIfAbsentTester<K, V> extends AbstractMapTester<K, V> {
    
      @MapFeature.Require(SUPPORTS_PUT)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 02:04:51 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultProjectArtifactFactory.java

    import org.apache.maven.project.artifact.InvalidDependencyVersionException;
    
    /**
     * Default component responsible for creation of MavenProject#dependencyArtifacts instances.
     */
    @SuppressWarnings("deprecation")
    @Named
    public class DefaultProjectArtifactFactory implements ProjectArtifactFactory {
        private final ArtifactFactory artifactFactory;
    
        @Inject
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/ImmutableBiMap.java

      }
    
      /**
       * Returns the empty bimap.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      // Casting to any type is safe because the set will never hold any elements.
      @SuppressWarnings("unchecked")
      public static <K, V> ImmutableBiMap<K, V> of() {
        return (ImmutableBiMap<K, V>) RegularImmutableBiMap.EMPTY;
      }
    
      /** Returns an immutable bimap containing a single entry. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 22.2K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.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 AbstractMultimapTester<
            K extends @Nullable Object, V extends @Nullable Object, M extends Multimap<K, V>>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 6.1K bytes
    - Click Count (0)
  9. guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java

              if (countMap.remove(element, current)) {
                return current;
              }
            } else {
              // We know it's an "E" because it already exists in the map.
              @SuppressWarnings("unchecked")
              E casted = (E) element;
    
              if (countMap.replace(casted, current, current - occurrences)) {
                return current;
              }
            }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/extension/model/CoreExtension.java

    package org.apache.maven.cli.internal.extension.model;
    
    /**
     * Describes a build extension to utilise.
     *
     * @deprecated Use {@link org.apache.maven.api.cli.extensions.CoreExtension} instead
     */
    @Deprecated
    @SuppressWarnings("all")
    public class CoreExtension implements java.io.Serializable {
    
        // --------------------------/
        // - Class/Member Variables -/
        // --------------------------/
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 4.5K bytes
    - Click Count (0)
Back to Top