- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 558 for Warnings (0.05 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) -
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) -
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) -
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) -
src/test/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticatorTest.java
public void test_securitySettings_allowUnsecureBasic() throws Exception { // Verify the ALLOW_UNSEC_BASIC setting is documented with security warnings SpnegoAuthenticator authenticator = new SpnegoAuthenticator(); assertNotNull(authenticator); // The security warning comments should guide users to disable this in production // This is a compile-time check that the code structure is correct
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 4.8K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt
assertThat("Has errors", richReport.errors.map { it.message }, inAnyOrder(errors)) } fun assertHasWarnings(vararg warnings: String) { assertThat("Has warnings", richReport.warnings.map { it.message }, inAnyOrder(warnings)) } fun assertHasInformation(vararg information: String) {
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Jan 19 11:30:48 GMT 2026 - 18.3K bytes - Click Count (0) -
tests/test_pydantic_v1_error.py
import sys import warnings import pytest from tests.utils import skip_module_if_py_gte_314 if sys.version_info >= (3, 14): skip_module_if_py_gte_314() from fastapi import FastAPI from fastapi.exceptions import PydanticV1NotSupportedError with warnings.catch_warnings(): warnings.simplefilter("ignore", UserWarning) from pydantic.v1 import BaseModel def test_raises_pydantic_v1_model_in_endpoint_param() -> None:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 2.3K bytes - Click Count (0) -
guava-gwt/pom.xml
<extraJvmArgs>-Dgwt.watchFileChanges=false</extraJvmArgs> </configuration> </execution> <!-- GWT issues some scary warnings while running tests, but I believe they are harmless. Let's take the warnings for one module, c.g.c.base.testModule, as an example: [INFO] Validating units: [INFO] Ignored 53 units with compilation errors in first pass.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jan 12 15:19:17 GMT 2026 - 18.2K bytes - Click Count (0)