- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 187 for idPresent (0.07 seconds)
-
src/main/java/org/codelibs/fess/app/web/api/admin/webauth/ApiAdminWebauthAction.java
*/ // DELETE /api/admin/webauth/setting/{id} @Execute public JsonResponse<ApiResult> delete$setting(final String id) { webAuthService.getWebAuthentication(id).ifPresent(entity -> { try { webAuthService.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 - 9.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/fileauth/ApiAdminFileauthAction.java
* @return JSON response with deletion status */ @Execute public JsonResponse<ApiResult> delete$setting(final String id) { fileAuthService.getFileAuthentication(id).ifPresent(entity -> { try { fileAuthService.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 - 9.2K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/PluginUpgradeCliTest.java
assertFalse(options.plugins().isPresent(), "--plugins should not be present by default"); assertFalse(options.all().isPresent(), "--all should not be present by default"); assertFalse(options.infer().isPresent(), "--infer should not be present by default"); assertFalse(options.model().isPresent(), "--fix-model should not be present by default");
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 14:48:39 GMT 2025 - 9.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/base/login/FessLoginAssist.java
protected void checkPermission(final LoginHandlingResource resource) throws LoginRequiredException { if (FessAdminAction.class.isAssignableFrom(resource.getActionClass())) { getSavedUserBean().ifPresent(user -> { if (user.hasRoles(fessConfig.getAuthenticationAdminRolesAsArray())) { return; } final Method executeMethod = resource.getExecuteMethod();
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 12.1K bytes - Click Count (0) -
internal/kms/config_test.go
t.Setenv(k, v) } ok, err := IsPresent() if err != nil && !test.ShouldFail { t.Fatalf("Test %d: %v", i, err) } if err == nil && test.ShouldFail { t.Fatalf("Test %d: should have failed but succeeded", i) } if !test.ShouldFail && ok != test.IsPresent { t.Fatalf("Test %d: reported that KMS present=%v - want present=%v", i, ok, test.IsPresent) } } } var isPresentTests = []struct {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 2.7K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Oct 16 06:12:36 GMT 2025 - 55.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/ldap/LdapManager.java
.ifPresent(s -> entry.put(new BasicAttribute(fessConfig.getLdapAttrTelephoneNumber(), s))); OptionalUtil.ofNullable(user.getHomePhone()) .filter(StringUtil::isNotBlank) .ifPresent(s -> entry.put(new BasicAttribute(fessConfig.getLdapAttrHomePhone(), s))); OptionalUtil.ofNullable(user.getHomePostalAddress()) .filter(StringUtil::isNotBlank)
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 86.3K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/execution/DefaultBuildResumptionAnalyzerTest.java
Optional<BuildResumptionData> result = analyzer.determineBuildResumptionData(executionResult); assertTrue(result.isPresent(), "Expected " + result + ".isPresent() to return true"); assertEquals(asList("test:B"), result.get().getRemainingProjects()); } @Test void resumeFromIsIgnoredWhenFirstProjectFails() {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 5.9K bytes - Click Count (0) -
internal/kms/config.go
} return ParseSecretKey(s) } } // IsPresent reports whether a KMS configuration is present. // It returns an error if multiple KMS configurations are // present or if one configuration is incomplete. func IsPresent() (bool, error) { // isPresent reports whether at least one of the // given env. variables is present. isPresent := func(vars ...string) bool { for _, v := range vars {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 15K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/WebApiUtil.java
* * @param name The attribute name * @param value The attribute value */ public static void setObject(final String name, final Object value) { LaRequestUtil.getOptionalRequest().ifPresent(req -> req.setAttribute(name, value)); } /** * Gets an object from the current request attributes. * * @param <T> The type of the object * @param name The attribute nameCreated: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 3.2K bytes - Click Count (0)