Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 131 for precedence (0.1 seconds)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PrecedenceCoreExtensionSelector.java

                    context, context.invokerRequest.coreExtensions().orElseThrow());
        }
    
        /**
         * Selects extensions to load discovered from various sources by precedence ("first wins"), as
         * {@link InvokerRequest#coreExtensions()} is in precedence order. Also reports conflicts, if any.
         * Finally, at DEBUG level reports configured vs selected extensions.
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 15:32:43 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  2. internal/handlers/proxy_test.go

    			xForwardedFor: []string{"8.8.8.8"},
    			xRealIP:       []string{"1.1.1.1"},
    		},
    	}
    	// When X-Forwarded-For and X-Real-IP headers are both present, X-Forwarded-For takes precedence.
    	res := GetSourceIP(req)
    	if res != "8.8.8.8" {
    		t.Errorf("wrong header, xff takes precedence: got %s, want: 8.8.8.8", res)
    	}
    
    	// When explicitly disabled, the XFF header is ignored and X-Real-IP is used.
    	enableXFFHeader = false
    	defer func() {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Feb 26 19:25:49 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/helper/VirtualHostHelperTest.java

            assertEquals("processed_site1", result); // Still site1 due to header precedence
    
            // Test with custom header
            request.addHeader("Custom-Header", "custom.value");
            result = virtualHostHelper.processVirtualHost(s -> "processed_" + s, "default");
            assertEquals("processed_site1", result); // Still site1 due to header precedence
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  4. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingRequest.java

        File getGlobalSettingsFile();
    
        /**
         * Sets the global settings file. A non-existent settings file is equivalent to empty settings. If both user
         * settings and global settings are given, the user settings take precedence.
         *
         * @param globalSettingsFile The global settings file, may be {@code null} to disable global settings.
         * @return This request, never {@code null}.
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 6K bytes
    - Click Count (0)
  5. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerRequest.java

         * {@link CoreExtensions} is validated, but the list elements may have overlapping elements, that requires
         * some logic to sort out (like precedence).
         * <p>
         * The list of {@link CoreExtensions} if present, is in precedence order.
         *
         * @return an {@link Optional} containing the {@link CoreExtensions}, or empty if not configured
         */
        @Nonnull
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  6. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/ToolchainsBuildingRequest.java

         */
        Source getGlobalToolchainsSource();
    
        /**
         * Sets the global toolchains source. If both user toolchains and a global toolchains are given, the user toolchains
         * take precedence.
         *
         * @param globalToolchainsSource The global toolchains source, may be {@code null} to disable global toolchains.
         * @return This request, never {@code null}.
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Mar 05 09:37:42 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  7. samples/tlssurvey/src/main/kotlin/okhttp3/survey/CipherSuiteSurvey.kt

     * limitations under the License.
     */
    package okhttp3.survey
    
    import okhttp3.survey.types.Client
    import okhttp3.survey.types.SuiteId
    
    /**
     * Organizes information on SSL cipher suite inclusion and precedence for this spreadsheet.
     * https://docs.google.com/spreadsheets/d/1C3FdZSlCBq_-qrVwG1KDIzNIB3Hyg_rKAcgmSzOsHyQ/edit#gid=0
     */
    class CipherSuiteSurvey(
      val clients: List<Client>,
      val ianaSuites: IanaSuites,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Apr 02 01:44:15 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  8. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTest.java

            assertThrows(InvokerException.class, () -> invoke(cwd, userHome, List.of("validate"), List.of()));
        }
    
        /**
         * In case of conflict spanning different sources, precedence is applied: project > user > installation.
         */
        @Test
        void conflictingExtensionsFromDifferentSource(
                @TempDir(cleanup = CleanupMode.ON_SUCCESS) Path cwd,
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Oct 21 12:17:55 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/dict/stemmeroverride/EditForm.java

     * This form extends CreateForm to include fields necessary for updating existing stemmer override entries.
     * Stemmer overrides define custom stemming rules that take precedence over the default stemming algorithm.
     *
     */
    public class EditForm extends CreateForm {
    
        /**
         * Creates a new EditForm instance.
         */
        public EditForm() {
            super();
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         * defined precedence onto each other to achieve proper precedence. Precedence is defined as:
         * <ul>
         *     <li>System properties (lowest precedence)</li>
         *     <li>Project properties (optional)</li>
         *     <li>User properties (highest precedence)</li>
         * </ul>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jul 03 14:18:26 GMT 2025
    - 36.5K bytes
    - Click Count (0)
Back to Top