Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 943 for warning1 (0.05 seconds)

  1. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/test/rest/YamlRestCompatTestPluginFuncTest.groovy

                  task.addWarning("one", "warning1", "warning2")
                  task.addWarningRegex("two", "regex warning here .* [a-z]")
                  task.addAllowedWarning("added allowed warning")
                  task.addAllowedWarningRegex("added allowed warning regex .* [0-9]")
                  task.removeWarning("one", "warning to remove")
                  task.replaceIsTrue("value_to_replace", "replaced_value")
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 30 16:30:48 GMT 2021
    - 16.4K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/rest/compat/RestCompatTestTransformTask.java

            transformations.add(new RemoveWarnings(Set.copyOf(Arrays.asList(warnings))));
        }
    
        /**
         * Removes one or more warnings
         *
         * @param warnings the warning(s) to remove
         * @param testName the test name to remove the warning
         */
        public void removeWarningForTest(String warnings, String testName) {
            transformations.add(new RemoveWarnings(Set.copyOf(Arrays.asList(warnings)), testName));
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 30 16:30:48 GMT 2021
    - 22.3K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/warnings/InjectWarnings.java

         * @param testName The testName to inject
         */
        public InjectWarnings(List<String> warnings, String testName) {
            this(false, warnings, testName);
        }
    
        /**
         * @param isRegex true is should inject the regex variant of warning
         * @param warnings The warnings to inject
         * @param testName The testName to inject
         */
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 3K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/warnings/RemoveWarnings.java

        private final Set<String> warnings;
        private String testName;
    
        /**
         * @param warnings The allowed warnings to inject
         */
        public RemoveWarnings(Set<String> warnings) {
            this.warnings = warnings;
        }
        /**
         * @param warnings The allowed warnings to inject
         * @param testName The testName to inject
         */
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Jul 15 08:50:42 GMT 2021
    - 2.9K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/resources/eclipse.settings/org.eclipse.jdt.core.prefs

    # org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=warning
    # org.eclipse.jdt.core.compiler.problem.nullReference=warning
    # org.eclipse.jdt.core.compiler.problem.nullSpecViolation=warning
    # org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning
    # org.eclipse.jdt.core.compiler.problem.potentialNullReference=warning
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 08 16:53:28 GMT 2021
    - 1.7K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/SimpleProblemCollector.java

                    if (!errors.contains(req.getMessage())) {
                        errors.add(req.getMessage());
                    }
                    break;
                case WARNING:
                    if (!warnings.contains(req.getMessage())) {
                        warnings.add(req.getMessage());
                    }
                    break;
                default:
                    throw new IllegalArgumentException("Unknown severity: " + req.getSeverity());
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/warnings/InjectAllowedWarnings.java

        /**
         * @param allowedWarnings The allowed warnings to inject
         */
        public InjectAllowedWarnings(List<String> allowedWarnings) {
            this(false, allowedWarnings);
        }
    
        /**
         * @param isRegex true if should inject the regex variant of allowed warnings
         * @param allowedWarnings The allowed warnings to inject
         */
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Jul 15 08:50:42 GMT 2021
    - 3.3K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/doc/RestTestsFromSnippetsTask.groovy

                }
                if (false == warnings.isEmpty()) {
                    current.println("      warnings:")
                    for (String warning in warnings) {
                        // Escape " because we're going to quote the warning
                        String escaped = warning.replaceAll('"', '\\\\"')
                        /* Quote the warning in case it starts with [ which makes
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 19.5K bytes
    - Click Count (0)
  9. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/RichReportScrapper.kt

        val errors: List<ReportMessage>,
        val warnings: List<ReportMessage>,
        val information: List<ReportMessage>,
        val accepted: List<ReportMessage>
    ) {
    
        val isEmpty: Boolean
            get() = errors.isEmpty() && warnings.isEmpty() && information.isEmpty()
    
        fun toText() =
            StringBuilder("Binary compatibility\n").apply {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jun 28 08:29:28 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  10. architecture/standards/0008-use-nullaway.md

    Our codebase uses `null` extensively to represent an absence of value or optionality of the argument.
    We utilize nullness annotations in Java code and somewhat rely on IDE warnings to guide us.
    However, the Java code we have is not fully annotated, which causes several consequences:
    * IDE warnings can be misleading
    * Redundant null checks may increase binary size, hurt performance, and increase cognitive load for readers
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 05 12:39:41 GMT 2026
    - 4K bytes
    - Click Count (0)
Back to Top