- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 380 for invalidate (0.1 sec)
-
src/main/java/org/codelibs/fess/app/web/admin/group/AdminGroupAction.java
form.crudMode = CrudMode.CREATE; }); }); } @Execute @Secured({ ROLE }) public HtmlResponse edit(final EditForm form) { validate(form, messages -> {}, this::asListHtml); final String id = form.id; groupService.getGroup(id).ifPresent(entity -> { copyBeanToBean(entity, form, op -> {}); }).orElse(() -> {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 13.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/pathmap/AdminPathmapAction.java
form.crudMode = CrudMode.CREATE; }); }); } @Execute @Secured({ ROLE }) public HtmlResponse edit(final EditForm form) { validate(form, messages -> {}, this::asListHtml); final String id = form.id; pathMappingService.getPathMapping(id).ifPresent(entity -> { copyBeanToBean(entity, form, op -> {}); }).orElse(() -> {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 13K bytes - Viewed (0) -
tests/test_tutorial/test_security/test_tutorial005.py
def test_incorrect_token(): response = client.get("/users/me", headers={"Authorization": "Bearer nonexistent"}) assert response.status_code == 401, response.text assert response.json() == {"detail": "Could not validate credentials"} assert response.headers["WWW-Authenticate"] == 'Bearer scope="me"' def test_incorrect_token_type(): response = client.get( "/users/me", headers={"Authorization": "Notexistent testtoken"}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Mar 13 19:07:10 UTC 2024 - 15.4K bytes - Viewed (0) -
cmd/batch-handlers.go
if err := r.Target.Creds.Validate(); err != nil { return err } } if err := r.Target.Type.Validate(); err != nil { return err } for _, tag := range r.Flags.Filter.Tags { if err := tag.Validate(); err != nil { return err } } for _, meta := range r.Flags.Filter.Metadata { if err := meta.Validate(); err != nil { return err } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 18 15:32:09 UTC 2024 - 62.2K bytes - Viewed (0) -
internal/bucket/lifecycle/rule.go
return r.Expiration.Validate() } func (r Rule) validateNoncurrentExpiration() error { return r.NoncurrentVersionExpiration.Validate() } func (r Rule) validatePrefixAndFilter() error { if !r.Prefix.set && r.Filter.IsEmpty() || r.Prefix.set && !r.Filter.IsEmpty() { return errXMLNotWellFormed } if !r.Prefix.set { return r.Filter.Validate() } return nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 01 01:11:10 UTC 2024 - 5.5K bytes - Viewed (0) -
internal/bucket/lifecycle/transition_test.go
}, } for i, tc := range trTests { var tr Transition err := xml.Unmarshal([]byte(tc.input), &tr) if err != nil { t.Fatalf("%d: xml unmarshal failed with %v", i+1, err) } if err = tr.Validate(); err != tc.err { t.Fatalf("%d: Invalid transition %v: err %v", i+1, tr, err) } } ntrTests := []struct { input string err error }{ { input: `<NoncurrentVersionTransition>
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 01 18:58:17 UTC 2021 - 2.3K bytes - Viewed (0) -
internal/bucket/replication/sourceselectioncriteria.go
func (s SourceSelectionCriteria) IsValid() bool { return s.ReplicaModifications.Status == Enabled || s.ReplicaModifications.Status == Disabled } // Validate source selection criteria func (s SourceSelectionCriteria) Validate() error { if (s == SourceSelectionCriteria{}) { return nil } if !s.IsValid() { return errInvalidSourceSelectionCriteria } return nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 2.5K bytes - Viewed (0) -
internal/bucket/lifecycle/noncurrentversion.go
} // IsDaysNull returns true if days field is null func (n NoncurrentVersionExpiration) IsDaysNull() bool { return n.NoncurrentDays == ExpirationDays(0) } // Validate returns an error with wrong value func (n NoncurrentVersionExpiration) Validate() error { if !n.set { return nil } val := int(n.NoncurrentDays) switch { case val == 0 && n.NewerNoncurrentVersions == 0: // both fields can't be zero
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Dec 14 17:41:44 UTC 2021 - 5.3K bytes - Viewed (0) -
internal/event/config.go
return &ErrUnsupportedConfiguration{} } *conf = Config(parsedConfig) return nil } // Validate - checks whether config has valid values or not. func (conf Config) Validate(region string, targetList *TargetList) error { for _, queue := range conf.QueueList { if err := queue.Validate(region, targetList); err != nil { return err } } return nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Nov 16 17:28:29 UTC 2021 - 8.4K bytes - Viewed (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java
} @Test void populatePropertiesCanContainEqualsSign() throws Exception { // Arrange CliRequest request = new CliRequest(new String[] {"-Dw=x=y", "validate"}, null); // Act cli.cli(request); cli.properties(request); // Assert assertThat(request.getUserProperties().getProperty("w"), is("x=y")); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 30.3K bytes - Viewed (0)