- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ensureAtLeastOneNonNull (0.14 sec)
-
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivator.java
return false; } ActivationOS os = activation.getOs(); if (os == null) { return false; } boolean active = ensureAtLeastOneNonNull(os); String actualOsName = context.getSystemProperties() .getOrDefault("os.name", Os.OS_NAME) .toLowerCase(Locale.ENGLISH);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/OperatingSystemProfileActivator.java
} public boolean isActive(Profile profile) { Activation activation = profile.getActivation(); ActivationOS os = activation.getOs(); boolean result = ensureAtLeastOneNonNull(os); if (result && os.getFamily() != null) { result = determineFamilyMatch(os.getFamily()); } if (result && os.getName() != null) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.7K bytes - Viewed (0)