- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ensureAtLeastOneNonNull (0.77 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 Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Feb 25 08:27:34 UTC 2025 - 5.3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/OperatingSystemProfileActivator.java
} @Override 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 Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 3.7K bytes - Viewed (0)