Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 391 - 400 of 1,112 for SuppressWarnings (0.12 seconds)

  1. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/lifecycle/Lifecycle.java

     * under the License.
     */
    package org.apache.maven.plugin.lifecycle;
    
    /**
     *
     *         A custom lifecycle mapping definition.
     *
     *
     * @version $Revision$ $Date$
     */
    @SuppressWarnings("all")
    public class Lifecycle implements java.io.Serializable {
    
        // --------------------------/
        // - Class/Member Variables -/
        // --------------------------/
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/ListReplaceAllTester.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 ListReplaceAllTester<E> extends AbstractListTester<E> {
      @ListFeature.Require(SUPPORTS_SET)
      public void testReplaceAll() {
        getList().replaceAll(e -> samples.e3());
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/collect/testing/QueueTestSuiteBuilder.java

       * By default, collection tests do run.
       */
      @CanIgnoreReturnValue
      public QueueTestSuiteBuilder<E> skipCollectionTests() {
        runCollectionTests = false;
        return this;
      }
    
      @SuppressWarnings("rawtypes") // class literals
      @Override
      protected List<Class<? extends AbstractTester>> getTesters() {
        List<Class<? extends AbstractTester>> testers = new ArrayList<>();
        if (runCollectionTests) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  4. guava/src/com/google/common/base/Defaults.java

       * false} for {@code boolean} and {@code '\0'} for {@code char}. For non-primitive types and
       * {@code void}, {@code null} is returned.
       */
      @SuppressWarnings("unchecked")
      public static <T> @Nullable T defaultValue(Class<T> type) {
        checkNotNull(type);
        if (type.isPrimitive()) {
          if (type == boolean.class) {
            return (T) Boolean.FALSE;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t11/ProjectInheritanceTest.java

    /**
     * Verifies scope of root project is preserved regardless of parent dependency management.
     *
     * @see <a href="https://issues.apache.org/jira/browse/MNG-2919">MNG-2919</a>
     */
    @Deprecated
    @SuppressWarnings("checkstyle:UnusedLocalVariable")
    class ProjectInheritanceTest extends AbstractProjectInheritanceTestCase {
        // ----------------------------------------------------------------------
        //
        // p1 inherits from p0
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/Language.java

     * <p>
     * Implementation must have {@code equals()} and {@code hashCode()} implemented, so implementations of this interface
     * can be used as keys.
     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    @SuppressWarnings("checkstyle:InterfaceIsType")
    public interface Language extends ExtensibleEnum {
    
        /**
         * The "none" language. It is not versioned, family is same to itself, and compatible with itself only.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jan 30 12:22:39 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/Multisets.java

      public static <E extends @Nullable Object> Multiset<E> unmodifiableMultiset(
          Multiset<? extends E> multiset) {
        if (multiset instanceof UnmodifiableMultiset || multiset instanceof ImmutableMultiset) {
          @SuppressWarnings("unchecked") // Since it's unmodifiable, the covariant cast is safe
          Multiset<E> result = (Multiset<E>) multiset;
          return result;
        }
        return new UnmodifiableMultiset<>(checkNotNull(multiset));
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 41.3K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/Multisets.java

      public static <E extends @Nullable Object> Multiset<E> unmodifiableMultiset(
          Multiset<? extends E> multiset) {
        if (multiset instanceof UnmodifiableMultiset || multiset instanceof ImmutableMultiset) {
          @SuppressWarnings("unchecked") // Since it's unmodifiable, the covariant cast is safe
          Multiset<E> result = (Multiset<E>) multiset;
          return result;
        }
        return new UnmodifiableMultiset<>(checkNotNull(multiset));
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 41.2K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

    import sun.misc.Unsafe;
    
    /** Supertype of {@link AbstractFuture} that contains platform-specific functionality. */
    // Whenever both tests are cheap and functional, it's faster to use &, | instead of &&, ||
    @SuppressWarnings("ShortCircuitBoolean")
    @GwtCompatible
    @ReflectionSupport(value = ReflectionSupport.Level.FULL)
    abstract class AbstractFutureState<V extends @Nullable Object> extends InternalFutureFailureAccess
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 33.2K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/ArrayTable.java

     *
     * @author Jared Levy
     * @since 10.0
     */
    // We explicitly list `implements Table<...>` so that its `@Nullable V` appears in Javadoc.
    @SuppressWarnings("RedundancyRemover")
    @GwtCompatible
    public final class ArrayTable<R, C, V> extends AbstractTable<R, C, @Nullable V>
        implements Table<R, C, @Nullable V>, Serializable {
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 26.9K bytes
    - Click Count (0)
Back to Top