- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 101 for IsPresent (0.19 seconds)
-
src/main/java/org/codelibs/fess/app/web/api/admin/fileauth/ApiAdminFileauthAction.java
* @return true if the file configuration exists, false otherwise */ protected Boolean isValidFileConfigId(final String fileconfigId) { return fileConfigService.getFileConfig(fileconfigId).isPresent(); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 9.2K bytes - Click Count (0) -
build-tools-internal/src/main/groovy/elasticsearch.formatting.gradle
// option from the command line by running Gradle with `-Dspotless.paddedcell`. if (providers.systemProperty('spotless.paddedcell').forUseAtConfigurationTime().isPresent()) { paddedCell() } } } tasks.named("precommit").configure { dependsOn 'spotlessJavaCheck' } } }Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu Sep 09 18:53:35 GMT 2021 - 9.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/JobHelper.java
return ComponentUtil.getComponent(ScheduledJobBhv.class) .selectByPK(id) .filter(e -> Boolean.TRUE.equals(e.getAvailable())) .isPresent(); } /** * Stores a job log entry in the database. * * @param jobLog the job log entry to store */ public void store(final JobLog jobLog) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 10.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/base/FessSearchAction.java
* * @return true if login is required, false otherwise */ protected boolean isLoginRequired() { if (fessConfig.isLoginRequired() && !fessLoginAssist.getSavedUserBean().isPresent()) { return true; } return false; } /** * Builds and populates search form parameters including results per page,Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 18 04:42:56 GMT 2026 - 14K bytes - Click Count (0) -
architecture/standards/0006-use-of-provider-apis-in-gradle.md
```groovy public interface NewThing { Property<String> getSomeProperty() } // Unacceptable String value if (!getSomeProperty().isPresent()) { value = "convention" } else { value = getSomeProperty().get() } // Also unacceptable String value = getSomeProperty().getOrElse("convention") // This should be always:Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Mar 05 12:39:41 GMT 2026 - 10K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/TestingConventionsTasks.java
} else { return ""; } } private String checkAtLeastOneExists(String message, Stream<? extends Class<?>> stream) { if (stream.findAny().isPresent()) { return ""; } else { return "Expected at least one " + message + ", but found none."; } } private boolean seemsLikeATest(Class<?> clazz) {Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 17.6K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java
// Determine target model version // Default to 4.0.0 unless --all is specified or explicit --model-version is provided String targetModel; if (options.modelVersion().isPresent()) { targetModel = options.modelVersion().get(); } else if (options.all().orElse(false)) { targetModel = MODEL_VERSION_4_1_0; } else {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 12.5K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategy.java
*/ private String determineTargetModelVersion(UpgradeContext context) { UpgradeOptions options = getOptions(context); if (options.modelVersion().isPresent()) { return options.modelVersion().get(); } else if (options.all().orElse(false)) { return MODEL_VERSION_4_1_0; } else { return MODEL_VERSION_4_0_0; }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 16.6K bytes - Click Count (0) -
android/guava/src/com/google/common/base/MoreObjects.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 05 17:38:41 GMT 2026 - 16.2K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategy.java
if (noOptionsSpecified || allOptionsDisabled) { return true; } // Check if --model is explicitly set (and not part of "all disabled" scenario) if (options.model().isPresent()) { return options.model().get(); } return false; } @Override public String getDescription() { return "Applying Maven 4 compatibility fixes";Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 22.2K bytes - Click Count (0)