- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 218 for getJdk (0.04 seconds)
-
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(); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 3K bytes - Click Count (0) -
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 {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 6.6K bytes - Click Count (0) -
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(
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 24 17:29:44 GMT 2025 - 6.7K bytes - Click Count (0) -
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());Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4.8K bytes - Click Count (0) -
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);
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) -
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");
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sun Mar 30 23:08:36 GMT 2025 - 6.4K bytes - Click Count (0) -
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 {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.7K bytes - Click Count (0) -
tests/test_security_scopes.py
@pytest.fixture(name="app") def app_fixture(call_counter: dict[str, int]): def get_db(): call_counter["count"] += 1 return f"db_{call_counter['count']}" def get_user(db: Annotated[str, Depends(get_db)]): return "user" app = FastAPI() @app.get("/") def endpoint( db: Annotated[str, Depends(get_db)], user: Annotated[str, Security(get_user, scopes=["read"])], ):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 1006 bytes - Click Count (0) -
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,
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Nov 16 13:55:43 GMT 2024 - 6K bytes - Click Count (0) -
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(
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 688 bytes - Click Count (0)