Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for warning (0.21 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/GenerateApiMapping.java

                        StringBuilder warning = new StringBuilder();
                        warning.append(String.format("Multiple DSL types have short name '%s':\n", entry.getKey()));
                        for (String className : entry.getValue()) {
                            warning.append("    * " + className + "\n");
                        }
                        getLogger().warn(warning.toString());
                    }
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 3.1K bytes
    - Viewed (0)
  2. 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 {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Sep 21 16:02:23 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy

                    warnings << "Return nullability changed from nullable to non-nullable"
                }
            }
    
            if (!errors.isEmpty()) {
                def changes = errors + warnings
                return acceptOrReject(member, changes, Violation.error(member, changes.join(" ")))
            }
            if (!warnings.isEmpty()) {
                return Violation.warning(member, warnings.join(" "))
            }
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Apr 13 10:04:28 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  4. .cm/lacks_tests.cm

        run:
          - action: add-label@v1
            args:
              label: "⚠️ Lacks Tests"
              color: {{ colors.yellow }}
          - action: add-comment@v1
            args:
              comment: |
                :warning: This PR appears to be lacking tests.  Consider adding tests to cover the new functionality.
    
    # To simplify the automations section, some calculations are placed under unique YAML keys defined here.
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/GenerationListener.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package gradlebuild.docs.dsl.docbook;
    
    public interface GenerationListener {
        void warning(String message);
    
        void start(String context);
    
        void finish();
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 782 bytes
    - Viewed (0)
  6. .cm/plugins/filters/summaryTable/index.js

            result += statistics.length + " platforms were affected";
        } else {
            result += "1 platform was affected";
        }
        if (platformsWithSignificantChanges.length > 1) {
            result += " (:warning: if possible, only one platform should have significant changes in a PR)";
        } else {
            result += " ";
        }
        return result;
    }
    
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  7. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt

        actualBranch.startsWith("pre-test/") || actualBranch.startsWith("gh-readonly-queue/") -> actualBranch.substringAfter("/").substringBefore("/")
        else -> actualBranch
    }
    
    /**
     * The build environment.
     *
     * WARNING: Every val in here must not change for they same daemon. If it does, changes will go undetected,
     *          since this whole object is kept in the classloader between builds.
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Feb 09 22:52:01 GMT 2024
    - 5.7K bytes
    - Viewed (2)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/LinkRenderer.java

                return linkElement;
            }
    
            //this if is a bit cheesy but 1-letter classname surely means a generic type and the warning will be useless
            if (className.length() > 1) {
                listener.warning(String.format("Could not generate link for unknown class '%s'", className));
            }
            Element element = document.createElement("classname");
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6.3K bytes
    - Viewed (0)
  9. build-logic/jvm/src/main/kotlin/gradlebuild.strict-compile.gradle.kts

    tasks.withType<JavaCompile>().configureEach {
        // Generated classes may not adhere to the strict no-warning policy that we apply to handwritten code
        // For example, external JMH plugin generates code that produces compiler warnings
        if (!name.contains("CompileGeneratedClasses")) {
            options.compilerArgs.addAll(strictCompilerArgs)
        }
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Fri Dec 15 20:21:31 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  10. .cm/includes_todos.cm

        run:
          - action: add-label@v1
            args:
              label: "⚠️ Includes TODOs"
              color: {{ colors.yellow }}
          - action: add-comment@v1
            args:
              comment: |
                :warning: 'There are new TODOs present in this change.  Should any be removed?'
    
    # To simplify the automations section, some calculations are placed under unique YAML keys defined here.
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1.9K bytes
    - Viewed (0)
Back to top