Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 331 - 340 of 1,112 for SuppressWarnings (0.09 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/Maven.java

    /**
     * The main Maven execution entry point, which will execute a full Maven execution session.
     *
     * @see org.apache.maven.execution.MavenSession
     */
    public interface Maven {
        @Deprecated
        @SuppressWarnings("checkstyle:constantname")
        String POMv4 = "pom.xml";
    
        MavenExecutionResult execute(MavenExecutionRequest request);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileActivationContext.java

         *
         * @param systemProperties The system properties, may be {@code null}.
         * @return This context, never {@code null}.
         */
        @SuppressWarnings("unchecked")
        public DefaultProfileActivationContext setSystemProperties(Properties systemProperties) {
            if (systemProperties != null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetTester.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 AbstractMultisetTester<E> extends AbstractCollectionTester<E> {
      protected final Multiset<E> getMultiset() {
        return (Multiset<E>) collection;
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AcceptedRegressionsRulePostProcess.java

    import org.gradle.util.internal.CollectionUtils;
    
    import java.util.HashSet;
    import java.util.Set;
    
    public class AcceptedRegressionsRulePostProcess implements PostProcessViolationsRule {
    
        @Override
        @SuppressWarnings("unchecked")
        public void execute(ViolationCheckContextWithViolations context) {
            Set<ApiChange> acceptedApiChanges = (Set<ApiChange>) context.getUserData().get("acceptedApiChanges");
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Jun 09 08:16:49 GMT 2021
    - 1.7K bytes
    - Click Count (0)
  5. android/guava-testlib/test/com/google/common/testing/FakeTickerTest.java

    /**
     * Unit test for {@link FakeTicker}.
     *
     * @author Jige Yu
     */
    @GwtCompatible
    // We also want to test the TimeUnit overload (especially under GWT, where it's the only option).
    @SuppressWarnings("SetAutoIncrementStep_Nanos")
    @NullUnmarked
    public class FakeTickerTest extends TestCase {
    
      @GwtIncompatible // NullPointerTester
      public void testNullPointerExceptions() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/SparseImmutableTable.java

      // For each cell in iteration order, the index of that cell's row key in the row key list.
      @SuppressWarnings("Immutable") // We don't modify this after construction.
      private final int[] cellRowIndices;
    
      // For each cell in iteration order, the index of that cell's column key in the list of column
      // keys present in that row.
      @SuppressWarnings("Immutable") // We don't modify this after construction.
      private final int[] cellColumnInRowIndices;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/collect/OrderingTest.java

        assertEquals(0, caseInsensitiveOrdering.compare("A", "a"));
        assertTrue(caseInsensitiveOrdering.compare("a", "B") < 0);
        assertTrue(caseInsensitiveOrdering.compare("B", "a") > 0);
    
        @SuppressWarnings({"deprecation", "InlineMeInliner"}) // test of a deprecated method
        Ordering<String> orderingFromOrdering = Ordering.from(Ordering.<String>natural());
        new EqualsTester()
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Oct 10 23:13:45 GMT 2025
    - 42.8K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/collect/OrderingTest.java

        assertEquals(0, caseInsensitiveOrdering.compare("A", "a"));
        assertTrue(caseInsensitiveOrdering.compare("a", "B") < 0);
        assertTrue(caseInsensitiveOrdering.compare("B", "a") > 0);
    
        @SuppressWarnings({"deprecation", "InlineMeInliner"}) // test of a deprecated method
        Ordering<String> orderingFromOrdering = Ordering.from(Ordering.<String>natural());
        new EqualsTester()
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Oct 10 23:13:45 GMT 2025
    - 42.8K bytes
    - Click Count (0)
  9. guava-testlib/src/com/google/common/testing/NullPointerTester.java

        // We assume that all defaults are generics-safe, even if they aren't,
        // we take the risk.
        @SuppressWarnings("unchecked")
        T defaultValue = (T) defaults.getInstance(type.getRawType());
        if (defaultValue != null) {
          return defaultValue;
        }
        @SuppressWarnings("unchecked") // All arbitrary instances are generics-safe
        T arbitrary = (T) ArbitraryInstances.get(type.getRawType());
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/suggest/SuggesterRefactoringTest.java

            }
        }
    
        /**
         * Test getIndicesForAlias method with existing alias.
         * Verifies that the method correctly retrieves indices for a given alias.
         */
        @Test
        @SuppressWarnings("unchecked")
        public void testGetIndicesForAlias_existingAlias() throws Exception {
            final String indexName = "test-index-001";
            final String aliasName = "test-alias";
    
            // Create index with alias
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 13.4K bytes
    - Click Count (0)
Back to Top