Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for getErrors (0.11 sec)

  1. compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java

            assertViolations(result, 0, 4, 0);
    
            assertContains(result.getErrors().get(0), "duplicate execution with id a");
            assertContains(result.getErrors().get(1), "duplicate execution with id default");
            assertContains(result.getErrors().get(2), "duplicate execution with id c");
            assertContains(result.getErrors().get(3), "duplicate execution with id b");
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

                            .mustNot(QueryBuilders.matchPhraseQuery(FieldNames.KINDS, SuggestItem.Kind.USER.toString())));
            if (deleteResponse.hasError()) {
                throw new SuggestIndexException(deleteResponse.getErrors().get(0));
            }
    
            final List<SuggestItem> updateItems = new ArrayList<>();
            SearchResponse response = client.prepareSearch(index).setSize(500).setScroll(settings.getScrollTimeout())
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/DefaultProfileSelectorTest.java

            List<Profile> active = selector.getActiveProfiles(profiles, context, problems);
            assertTrue(active.isEmpty());
            assertEquals(1, problems.getErrors().size());
            assertEquals(
                    "Failed to determine activation for profile one: BOOM",
                    problems.getErrors().get(0));
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/SimpleProblemCollector.java

            this.model = model;
        }
    
        public Model getModel() {
            return model;
        }
    
        public List<String> getWarnings() {
            return warnings;
        }
    
        public List<String> getErrors() {
            return errors;
        }
    
        public List<String> getFatals() {
            return fatals;
        }
    
        public void add(ModelProblemCollectorRequest req) {
            switch (req.getSeverity()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/AbstractProfileActivatorTest.java

            assertEquals(active, activator.isActive(new org.apache.maven.model.Profile(profile), context, problems));
    
            assertEquals(0, problems.getErrors().size(), problems.getErrors().toString());
            assertEquals(0, problems.getWarnings().size(), problems.getWarnings().toString());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexResponse.java

        }
    
        public int getNumberOfInputDocs() {
            return numberOfInputDocs;
        }
    
        public boolean hasError() {
            return hasError;
        }
    
        public List<Throwable> getErrors() {
            return errors;
        }
    
        public long getTook() {
            return took;
        }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

                return false;
            }
            refresh();
            return true;
        }
    
        public boolean deleteDocumentWords() {
            final SuggestDeleteResponse response = suggester.indexer().deleteDocumentWords();
            if (response.hasError()) {
                logger.warn("Failed to delete document words.", response.getErrors().get(0));
                return false;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java

            context.put("basedir", "myBasedir");
            context.put("project.baseUri", "myBaseUri");
        }
    
        protected void assertProblemFree(SimpleProblemCollector collector) {
            assertEquals(0, collector.getErrors().size(), "Expected no errors");
            assertEquals(0, collector.getWarnings().size(), "Expected no warnings");
            assertEquals(0, collector.getFatals().size(), "Expected no fatals");
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/index/SuggestDeleteResponse.java

            if (errors != null && !errors.isEmpty()) {
                this.errors.addAll(errors);
            }
        }
    
        public boolean hasError() {
            return !errors.isEmpty();
        }
    
        public List<Throwable> getErrors() {
            return errors;
        }
    
        public long getTook() {
            return took;
        }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/sso/saml/SamlAuthenticator.java

                                }
                                return null;
                            }
    
                            final List<String> errors = auth.getErrors();
                            if (!errors.isEmpty()) {
                                logger.warn("{}", errors.stream().collect(Collectors.joining(", ")));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.2K bytes
    - Viewed (0)
Back to top