- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 871 for Warnings (0.19 seconds)
-
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) -
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) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Oct 27 09:26:32 GMT 2025 - 15.4K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/Result.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Mar 26 19:31:34 GMT 2025 - 6.9K bytes - Click Count (0) -
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) -
src/main/java/org/codelibs/curl/io/ContentOutputStream.java
* * <p>This class ensures that the temporary file is deleted if it is not needed. * It uses a logger to log warnings if there are issues deleting the temporary file.</p> * * <p>Fields:</p> * <ul> * <li>{@code logger} - Logger instance for logging warnings.</li> * <li>{@code PREFIX} - Prefix for the temporary file name.</li> * <li>{@code SUFFIX} - Suffix for the temporary file name.</li>
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Thu Nov 20 13:34:13 GMT 2025 - 3.9K bytes - Click Count (0) -
tests/test_orjson_response_class.py
import warnings from fastapi import FastAPI from fastapi.exceptions import FastAPIDeprecationWarning from fastapi.responses import ORJSONResponse from fastapi.testclient import TestClient from sqlalchemy.sql.elements import quoted_name with warnings.catch_warnings(): warnings.simplefilter("ignore", FastAPIDeprecationWarning) app = FastAPI(default_response_class=ORJSONResponse) @app.get("/orjson_non_str_keys")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 22 16:34:59 GMT 2026 - 846 bytes - Click Count (0) -
tests/test_deprecated_responses.py
import warnings import pytest from fastapi import FastAPI from fastapi.exceptions import FastAPIDeprecationWarning from fastapi.responses import ORJSONResponse, UJSONResponse from fastapi.testclient import TestClient from pydantic import BaseModel class Item(BaseModel): name: str price: float # ORJSON def _make_orjson_app() -> FastAPI: with warnings.catch_warnings():
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 22 16:34:59 GMT 2026 - 2K bytes - Click Count (0) -
cmd/server-main.go
printStartupMessage(getAPIEndpoints(), err) // Print a warning at the end of the startup banner so it is more noticeable if newObject.BackendInfo().StandardSCParity == 0 && !globalIsErasureSD { warnings = append(warnings, color.YellowBold("The standard parity is set to 0. This can lead to data loss.")) } for _, warn := range warnings { logger.Warning(warn) } }() region := globalSite.Region()
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue May 27 15:18:36 GMT 2025 - 35.9K bytes - Click Count (4) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java
* This avoids the warning about not being able to find the root directory. */ protected void createMvnDirectoryIfNeeded(UpgradeContext context) { context.info(""); context.info("Creating .mvn directory if needed to avoid root directory warnings..."); // Find the root directory (starting directory)Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 12.5K bytes - Click Count (0)