Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 46 for Deprecation (0.07 seconds)

  1. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

      }
    
      @GwtIncompatible // DoubleMath.mean
      @SuppressWarnings("deprecation") // test of deprecated method
      public void testMean_intVarargs() {
        assertThat(DoubleMath.mean(11, -22, 44, -88)).isWithin(1.0e-10).of(-13.75);
        assertThat(DoubleMath.mean(11)).isWithin(1.0e-10).of(11.0);
      }
    
      @GwtIncompatible // DoubleMath.mean
      @SuppressWarnings("deprecation") // test of deprecated method
      public void testMean_longVarargs() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 03 16:20:39 GMT 2026
    - 27.5K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/math/DoubleMathTest.java

      }
    
      @GwtIncompatible // DoubleMath.mean
      @SuppressWarnings("deprecation") // test of deprecated method
      public void testMean_intVarargs() {
        assertThat(DoubleMath.mean(11, -22, 44, -88)).isWithin(1.0e-10).of(-13.75);
        assertThat(DoubleMath.mean(11)).isWithin(1.0e-10).of(11.0);
      }
    
      @GwtIncompatible // DoubleMath.mean
      @SuppressWarnings("deprecation") // test of deprecated method
      public void testMean_longVarargs() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 03 16:20:39 GMT 2026
    - 27.5K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/hash/Hashing.java

       * href="https://github.com/aappleby/smhasher/blob/master/src/MurmurHash3.cpp">32-bit murmur3
       * algorithm, x86 variant</a> (little-endian variant), using the given seed value, <b>with a known
       * bug</b> as described in the deprecation text.
       *
       * <p>The C++ equivalent is the MurmurHash3_x86_32 function (Murmur3A), which however does not
       * have the bug.
       *
       * @deprecated This implementation produces incorrect hash values from the {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 29.8K bytes
    - Click Count (0)
  4. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java

            setComponentFactory(language);
        }
    
        /**
         * @return Description with reason of a Mojo deprecation.
         */
        public String getDeprecated() {
            return deprecated;
        }
    
        /**
         * @param deprecated Description with reason of a Mojo deprecation.
         */
        public void setDeprecated(String deprecated) {
            this.deprecated = deprecated;
        }
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 21.7K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java

                        .setDeprecatedHandler(this::addDeprecatedOption)
                        .get();
                CommandLine commandLine = parser.parse(options, cleanArgs);
                // to trigger deprecation handler, so we can report deprecation BEFORE we actually use options
                options.getOptions().forEach(commandLine::hasOption);
                return commandLine;
            }
    
            protected void addDeprecatedOption(Option option) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Oct 08 07:36:42 GMT 2025
    - 21.3K bytes
    - Click Count (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java

                    .setDeprecatedHandler(usedDeprecatedOptions::add)
                    .build();
    
            CommandLine commandLine = parser.parse(options, cleanArgs);
            // to trigger deprecation handler, so we can report deprecation BEFORE we actually use options
            options.getOptions().forEach(commandLine::hasOption);
            return commandLine;
        }
    
        public Set<Option> getUsedDeprecatedOptions() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Aug 06 04:56:48 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  7. api/maven-api-plugin/src/main/mdo/plugin.mdo

            </field>
            <field>
              <name>deprecated</name>
              <version>1.0.0+</version>
              <type>String</type>
              <description>
                Description with the reason of Mojo deprecation. Similar to Javadoc {@code @deprecated}
                This will trigger a warning when a user tries to use a Mojo marked as deprecated.
              </description>
            </field>
            <field>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:28:41 GMT 2025
    - 24.8K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/base/ThrowablesTest.java

    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit test for {@link Throwables}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @SuppressWarnings({
      "deprecation", // tests of numerous deprecated methods
      "nullness", // TODO(cpovirk): fix errors
    })
    @NullUnmarked
    public class ThrowablesTest extends TestCase {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 15K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/primitives/UnsignedBytes.java

        static final Comparator<byte[]> BEST_COMPARATOR = getBestComparator();
    
        @SuppressWarnings({
          // b/345822163
          "SunApi",
          "deprecation",
          // The `deprecation` suppression is for Unsafe APIs that aren't deprecated under some versions
          "UnnecessaryJavacSuppressWarnings"
        })
        @VisibleForTesting
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 21K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

    @GwtCompatible
    @NullMarked
    public class MultimapsTest extends TestCase {
    
      private static final Comparator<Integer> INT_COMPARATOR =
          Ordering.<Integer>natural().reverse().nullsFirst();
    
      @SuppressWarnings({"deprecation", "InlineMeInliner"}) // test of a deprecated method
      public void testUnmodifiableListMultimapShortCircuit() {
        ListMultimap<String, Integer> mod = ArrayListMultimap.create();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 39.2K bytes
    - Click Count (0)
Back to Top