- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 187 for idPresent (0.07 seconds)
-
guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java
&& (m.getModifiers() & (PUBLIC | PROTECTED | PRIVATE)) == 0) .transform(Method::getDeclaringClass); if (!supersWithPackagePrivateWriteReplace.isPresent()) { continue; } assertWithMessage( "To help optimizers, any class that inherits a package-private writeReplace() method" + " should override that method.\n"
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 01 03:07:54 GMT 2025 - 5.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/user/ApiAdminUserAction.java
throwValidationErrorApi(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, id)); return null; }); getUserBean().ifPresent(u -> { if (u.getFessUser() instanceof User && entity.getName().equals(u.getUserId())) { throwValidationErrorApi(messages -> messages.addErrorsCouldNotDeleteLoggedInUser(GLOBAL)); }
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Mon Nov 24 02:07:40 GMT 2025 - 7.8K bytes - Click Count (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/tasks/DistributionTest.kt
jvmArgumentProviders.add(srcDistributionZip) } override fun executeTests() { cachesCleaner.get().cleanUpCaches() if (tracker.isPresent) { val daemonTrackerService = tracker.get() val testListener = daemonTrackerService.javaClass.getMethod("newDaemonListener").invoke(daemonTrackerService) as TestListener
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Aug 18 18:02:41 GMT 2025 - 7.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/UserInfoHelper.java
*/ protected void updateUserSessionId(final String userCode) { ComponentUtil.getSearchLogHelper().getUserInfo(userCode); LaRequestUtil.getOptionalRequest().ifPresent(req -> req.setAttribute(Constants.USER_CODE, userCode)); updateCookie(userCode, cookieMaxAge); } /** * Updates the user identification cookie with the specified user code and max age.Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 14.9K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java
@Override String read(ByteSource byteSource, Charset cs) throws IOException { Optional<Long> size = byteSource.sizeIfKnown(); // if we know the size and it fits in an int if (size.isPresent() && size.get().longValue() == size.get().intValue()) { // otherwise try to presize a StringBuilder // it is kind of lame that we need to construct a decoder to access this value.Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 5.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/relatedquery/ApiAdminRelatedqueryAction.java
*/ // DELETE /api/admin/relatedquery/setting/{id} @Execute public JsonResponse<ApiResult> delete$setting(final String id) { relatedQueryService.getRelatedQuery(id).ifPresent(entity -> { try { relatedQueryService.delete(entity); saveInfo(messages -> messages.addSuccessCrudDeleteCrudTable(GLOBAL)); } catch (final Exception e) {Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 8.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/documents/ApiAdminDocumentsAction.java
if (doc.get(fessConfig.getIndexFieldConfigId()) instanceof final String configId) { crawlingConfigHelper.getPipeline(configId).ifPresent(s -> builder.setPipeline(s)); } }); return asJson(new ApiBulkResponse().items(Arrays.stream(response.getItems()).map(item -> { final Map<String, Object> itemMap = new HashMap<>();
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 8.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/relatedcontent/ApiAdminRelatedcontentAction.java
* @return JSON response with deletion status */ @Execute public JsonResponse<ApiResult> delete$setting(final String id) { relatedContentService.getRelatedContent(id).ifPresent(entity -> { try { relatedContentService.delete(entity); saveInfo(messages -> messages.addSuccessCrudDeleteCrudTable(GLOBAL)); } catch (final Exception e) {Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 8.4K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtils.java
* <pre>{@code * // Find child element * Element child = parent.child("version").orElse(null); * * // Check if child exists * boolean hasVersion = parent.child("version").isPresent(); * * // Get child text content * String version = parent.child("version") * .map(Element::textContent) * .orElse(null); * * // Get trimmed text content
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 7.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/storage/ApiAdminStorageAction.java
*/ @Execute public JsonResponse<ApiResult> list(final OptionalThing<String> id) { final List<Map<String, Object>> list = getFileItems(id.isPresent() ? decodePath(id.get()) : null); try { return asJson(new ApiResult.ApiStorageResponse().items(list).status(ApiResult.Status.OK).result()); } catch (final ResultOffsetExceededException e) {Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 6.9K bytes - Click Count (0)