Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 123 for deprecations (1.23 seconds)

  1. compat/maven-compat/src/main/java/org/apache/maven/toolchain/java/JavaToolchainFactory.java

            if (model == null) {
                return null;
            }
    
            // use DefaultJavaToolChain for compatibility with maven 3.2.3 and earlier
    
            @SuppressWarnings("deprecation")
            JavaToolchainImpl jtc = new DefaultJavaToolChain(model, logger);
    
            // populate the provides section
            Properties provides = model.getProvides();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java

            dstIndex++;
            dst[dstIndex++] = (byte) 0x00;
            SMBUtil.writeInt2(this.passwordLength, dst, dstIndex);
            return 4;
        }
    
        @SuppressWarnings("deprecation")
        private static boolean isExternalAuth(final NtlmPasswordAuthenticator pwAuth) {
            return pwAuth instanceof jcifs.smb.NtlmPasswordAuthentication
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  3. impl/maven-core/src/test/java/org/apache/maven/project/DefaultProjectBuilderTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    
    /**
     * Test for {@link DefaultProjectBuilder} extractProjectId method.
     */
    @SuppressWarnings("deprecation")
    class DefaultProjectBuilderTest {
    
        /**
         * Test the extractProjectId method to ensure it properly falls back to rawModel or fileModel
         * when effectiveModel is null, addressing issue #11292.
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 17:20:31 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  4. 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 Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Oct 08 07:36:42 GMT 2025
    - 21.3K bytes
    - Click Count (0)
  5. 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 Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java

     * tested in {@link FuturesTest}.
     */
    @NullMarked
    @GwtCompatible
    public class FluentFutureTest extends TestCase {
      @SuppressWarnings({"deprecation", "InlineMeInliner"}) // test of a deprecated method
      public void testFromFluentFuture() {
        FluentFuture<String> f = FluentFuture.from(SettableFuture.create());
        assertThat(FluentFuture.from(f)).isSameInstanceAs(f);
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  7. src/test/java/jcifs/util/transport/TransportExceptionTest.java

            assertNull(bothNullException.getCause());
        }
    
        @Test
        @DisplayName("Test deprecated getRootCause method returns the same as getCause")
        @SuppressWarnings("deprecation")
        public void testGetRootCause() {
            // Test with no cause
            TransportException noCauseException = new TransportException("No cause");
            assertNull(noCauseException.getRootCause());
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  8. README.md

        the [Guava Beta Checker] to ensure that you do not use any `@Beta` APIs!**
    
    2.  APIs without `@Beta` will remain binary-compatible for the indefinite
        future. (Previously, we sometimes removed such APIs after a deprecation
        period. The last release to remove non-`@Beta` APIs was Guava 21.0.) Even
        `@Deprecated` APIs will remain (again, unless they are `@Beta`). We have no
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 16 22:01:32 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  9. 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 Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Aug 06 04:56:48 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformer.java

        private final PomBuilder builder;
    
        @Inject
        ConsumerPomArtifactTransformer(PomBuilder builder) {
            this.builder = builder;
        }
    
        @SuppressWarnings("deprecation")
        @Override
        public void injectTransformedArtifacts(RepositorySystemSession session, MavenProject project) throws IOException {
            if (project.getFile() == null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Nov 06 18:32:25 GMT 2025
    - 8.9K bytes
    - Click Count (0)
Back to Top