Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 740 for Warnings (0.07 seconds)

  1. 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)
  2. 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)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy

                    warnings << "Return nullability changed from nullable to null-unmarked"
                }
            }
    
            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(" "))
            }
    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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to Top