- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 497 for warning2 (0.27 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) -
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_generate_unique_id_function.py
return item1 # pragma: nocover client = TestClient(app) with warnings.catch_warnings(record=True) as w: warnings.simplefilter("always") client.get("/openapi.json") assert len(w) >= 2 duplicate_warnings = [ warning for warning in w if issubclass(warning.category, UserWarning) ] assert len(duplicate_warnings) > 0Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 75K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt
if (ageMillis + minFreshMillis >= freshMillis) { builder.addHeader("Warning", "110 HttpURLConnection \"Response is stale\"") } val oneDayMillis = 24 * 60 * 60 * 1000L if (ageMillis > oneDayMillis && isFreshnessLifetimeHeuristic()) { builder.addHeader("Warning", "113 HttpURLConnection \"Heuristic expiration\"") } return CacheStrategy(null, builder.build())
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 12.1K bytes - Click Count (0) -
fastapi/_compat/v2.py
warnings.simplefilter( "ignore", category=UnsupportedFieldAttributeWarning ) # TODO: remove after setting the min Pydantic to v2.12.3 # that adds asdict(), and use self.field_info.asdict() instead field_dict = asdict(self.field_info) annotated_args = (Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 16.7K bytes - Click Count (0) -
docs/de/docs/tutorial/body-updates.md
{* ../../docs_src/body_updates/tutorial001_py310.py hl[28:33] *} `PUT` wird verwendet, um Daten zu empfangen, die die existierenden Daten ersetzen sollen. ### Warnung bezüglich des Ersetzens { #warning-about-replacing } Das bedeutet, dass, wenn Sie den Artikel `bar` aktualisieren wollen, mittels `PUT` und folgendem Body: ```Python { "name": "Barz", "price": 3, "description": None,Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 5K bytes - Click Count (0) -
fastapi/exceptions.py
""" A pydantic.v1 model is used, which is no longer supported. """ class FastAPIDeprecationWarning(UserWarning): """ A custom deprecation warning as DeprecationWarning is ignored Ref: https://sethmlarson.dev/deprecations-via-warnings-dont-work-for-python-librariesCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 11 18:41:21 GMT 2026 - 7.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableCollection.java
* collection whose contents should be copied. * <li>A static nested {@code Builder} class which can be used to populate a new immutable * instance. * </ul> * * <h4>Warnings</h4> * * <ul> * <li><b>Warning:</b> as with any collection, it is almost always a bad idea to modify an element * (in a way that affects its {@link Object#equals} behavior) while it is contained in a
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 18.7K 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)