Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 204 for getJdk (0.04 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/JdkPrefixProfileActivator.java

        }
    
        @Override
        protected boolean canDetectActivation(Profile profile) {
            return profile.getActivation() != null
                    && profile.getActivation().getJdk() != null
                    && !profile.getActivation().getJdk().isEmpty();
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivator.java

    import org.apache.maven.model.profile.ProfileActivationContext;
    
    /**
     * Determines profile activation based on the version of the current Java runtime.
     *
     * @see Activation#getJdk()
     * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead
     */
    @Named("jdk-version")
    @Singleton
    @Deprecated(since = "4.0.0")
    public class JdkVersionProfileActivator implements ProfileActivator {
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  3. impl/maven-core/src/test/java/org/apache/maven/settings/SettingsUtilsTest.java

                    .build();
    
            Profile clone = SettingsUtilsV4.convertToSettingsProfile(SettingsUtilsV4.convertFromSettingsProfile(p));
    
            assertEquals(p.getId(), clone.getId());
            assertEquals(p.getActivation().getJdk(), clone.getActivation().getJdk());
            assertEquals(
                    p.getActivation().getFile().getExists(),
                    clone.getActivation().getFile().getExists());
            assertEquals(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/profiles/ProfilesConversionUtils.java

                activation.setActiveByDefault(profileActivation.isActiveByDefault());
    
                activation.setJdk(profileActivation.getJdk());
    
                org.apache.maven.profiles.ActivationProperty profileProp = profileActivation.getProperty();
    
                if (profileProp != null) {
                    ActivationProperty prop = new ActivationProperty();
    
                    prop.setName(profileProp.getName());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/CryptoTest.java

        void testHashVariousInputSizes(String input) {
            // Given
            byte[] data = input.getBytes();
    
            // When
            MessageDigest md4 = Crypto.getMD4();
            MessageDigest md5 = Crypto.getMD5();
            byte[] md4Hash = md4.digest(data);
            byte[] md5Hash = md5.digest(data);
    
            // Then
            assertNotNull(md4Hash);
            assertNotNull(md5Hash);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java

            Profile notActivated = new Profile();
            notActivated.setId("notActivated");
    
            Activation nonActivation = new Activation();
    
            nonActivation.setJdk("19.2");
    
            notActivated.setActivation(nonActivation);
    
            Profile defaultActivated = new Profile();
            defaultActivated.setId("defaultActivated");
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Mar 30 23:08:36 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/Crypto.java

         */
        public static MessageDigest getMD4() {
            try {
                return MessageDigest.getInstance("MD4", getProvider());
            } catch (final NoSuchAlgorithmException e) {
                throw new CIFSUnsupportedCryptoException(e);
            }
        }
    
        /**
         * Get an MD5 message digest instance.
         * @return MD5 digest instance
         */
        public static MessageDigest getMD5() {
            try {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  8. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/DefaultSettingsDecrypter.java

                                    "Pre-Maven 4 legacy encrypted password detected for server " + server.getId()
                                            + " - configure password encryption with the help of mvnenc to be compatible with Maven 4.",
                                    Severity.WARNING,
                                    "server: " + server.getId(),
                                    -1,
                                    -1,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Nov 16 13:55:43 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/pac/PacSidAttributesTest.java

            assertEquals(sidMock, pacSidAttributes.getId(), "The SID should match the one provided in the constructor.");
            assertEquals(attributes, pacSidAttributes.getAttributes(), "The attributes should match the ones provided in the constructor.");
        }
    
        /**
         * Test method for {@link jcifs.pac.PacSidAttributes#getId()}.
         */
        @Test
        void testGetId() {
            // Test the getId method
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_dependencies/test_tutorial010.py

    from fastapi import Depends, FastAPI
    from fastapi.testclient import TestClient
    
    from docs_src.dependencies.tutorial010_py39 import get_db
    
    
    def test_get_db():
        app = FastAPI()
    
        @app.get("/")
        def read_root(c: Annotated[Any, Depends(get_db)]):
            return {"c": str(c)}
    
        client = TestClient(app)
    
        dbsession_mock = Mock()
    
        with patch(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 688 bytes
    - Viewed (0)
Back to top