Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 25 for clearProperty (0.11 seconds)

  1. build-tools-internal/src/main/resources/forbidden/jdk-signatures.txt

    java.lang.Runtime#halt(int)
    
    @defaultMessage Treat system properties as immutable
    java.lang.System#setProperties(java.util.Properties)
    java.lang.System#setProperty(java.lang.String,java.lang.String)
    java.lang.System#clearProperty(java.lang.String)
    java.lang.System#getProperties() @ Use BootstrapInfo.getSystemProperties for a read-only view
    
    @defaultMessage Avoid unchecked warnings by using Collections#empty(List|Map|Set) methods
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 4.8K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/base/StandardSystemProperty.java

       *   <li>{@link #JAVA_COMPILER}, while still listed as required as of Java 15, is typically not
       *       available even under older version.
       *   <li>Any property may be cleared through APIs like {@link System#clearProperty}.
       *   <li>Unusual environments like GWT may have their own special handling of system properties.
       * </ul>
       *
       * <p>Note that {@code StandardSystemProperty} does not provide constants for more recently added
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 06 10:03:30 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  3. guava/src/com/google/common/base/StandardSystemProperty.java

       *   <li>{@link #JAVA_COMPILER}, while still listed as required as of Java 15, is typically not
       *       available even under older version.
       *   <li>Any property may be cleared through APIs like {@link System#clearProperty}.
       *   <li>Unusual environments like GWT may have their own special handling of system properties.
       * </ul>
       *
       * <p>Note that {@code StandardSystemProperty} does not provide constants for more recently added
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 06 10:03:30 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/util/ResourceUtilTest.java

            assertEquals("underscore", ResourceUtil.resolve(value));
    
            // Clean up test properties
            System.clearProperty("var1");
            System.clearProperty("var2");
            System.clearProperty("special");
            System.clearProperty("123");
            System.clearProperty("test_var");
        }
    
        @Test
        public void test_resolve_edgeCases() {
            // Test empty property replacement
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java

                String floatValue = fessConfig.get(floatKey);
                assertEquals("45.67", floatValue);
            } finally {
                System.clearProperty(Constants.FESS_CONFIG_PREFIX + intKey);
                System.clearProperty(Constants.FESS_CONFIG_PREFIX + floatKey);
            }
        }
    
        // Test getting boolean configuration values
        @Test
        public void test_get_booleanValues() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.9K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/util/SystemUtilTest.java

        public void test_getSearchEngineHttpAddress_null() {
            // Clear the system property to test null case
            String originalValue = System.getProperty(Constants.FESS_SEARCH_ENGINE_HTTP_ADDRESS);
            System.clearProperty(Constants.FESS_SEARCH_ENGINE_HTTP_ADDRESS);
    
            try {
                String result = SystemUtil.getSearchEngineHttpAddress();
                assertNull(result);
            } finally {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 17.1K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/job/ExecJobTest.java

            assertTrue(cmdList.contains("-Dapp.module.feature2=disabled"));
    
            // Clean up
            System.clearProperty("app.module.feature1");
            System.clearProperty("app.module.feature2");
            System.clearProperty("app.service.api");
            System.clearProperty("config.app.module");
        }
    
        // Test invalid regex in custom properties
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 24.8K bytes
    - Click Count (0)
  8. src/test/java/jcifs/context/SingletonContextTest.java

            }
            // Clear system properties that might affect the test
            System.clearProperty("jcifs.properties");
            System.clearProperty("java.protocol.handler.pkgs");
            // Clear jcifs-specific properties to prevent test interference
            System.clearProperty("jcifs.smb.client.nativeOs");
            System.clearProperty("jcifs.smb.client.nativeLanMan");
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/suggest/util/SettingsResourceLoaderTest.java

                assertFalse(content.contains("${fess.dictionary.path}"));
            } finally {
                // Restore original property
                if (originalPath.isEmpty()) {
                    System.clearProperty("fess.dictionary.path");
                } else {
                    System.setProperty("fess.dictionary.path", originalPath);
                }
            }
        }
    
        @Test
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 4K bytes
    - Click Count (0)
  10. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/LookupInvokerLoggingTest.java

            System.clearProperty(Constants.MAVEN_LOGGER_DEFAULT_LOG_LEVEL);
        }
    
        @AfterEach
        void tearDown() {
            // Restore original system property
            if (originalSystemProperty != null) {
                System.setProperty(Constants.MAVEN_LOGGER_DEFAULT_LOG_LEVEL, originalSystemProperty);
            } else {
                System.clearProperty(Constants.MAVEN_LOGGER_DEFAULT_LOG_LEVEL);
            }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Oct 08 21:10:33 GMT 2025
    - 6.4K bytes
    - Click Count (0)
Back to Top