- Sort Score
- Num 10 results
- Language All
Results 271 - 280 of 311 for getProperty (0.18 seconds)
-
src/test/java/jcifs/http/HandlerTest.java
// package when it is listed in the 'java.protocol.handler.pkgs' system property. // We use mock handlers since actual system handlers might not be available in test environment. System.setProperty("java.protocol.handler.pkgs", "jcifs"); setupMockProtocolHandlers(); URL url = new URL("http://example.com/resource"); URLConnection connection = handler.openConnection(url);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.1K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/ProjectDependenciesResolverTest.java
} @Test void testSystemScopeDependencyIsPresentInTheCompileClasspathElements() throws Exception { File pom = getProject("it0063"); Properties eps = new Properties(); eps.setProperty("jre.home", new File(pom.getParentFile(), "jdk/jre").getPath()); MavenSession session = createMavenSession(pom, eps); MavenProject project = session.getCurrentProject();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 3.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java
} @Override public void setProperty(@Nonnull Project project, @Nonnull String key, String value) { Properties properties = getMavenProject(project).getProperties(); if (value == null) { properties.remove(key); } else { properties.setProperty(key, value); } } @Override @NonnullCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Dec 17 16:17:01 GMT 2025 - 10.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java
// cause system property. This allows us to run with both settings of the property in one jvm // without resorting to even crazier hacks to reset static final boolean fields. System.setProperty("guava.concurrent.generate_cancellation_cause", "true"); String concurrentPackage = SettableFuture.class.getPackage().getName(); classReloader = new URLClassLoader(ClassPathUtil.getClassPathUrls()) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 6.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java
// cause system property. This allows us to run with both settings of the property in one jvm // without resorting to even crazier hacks to reset static final boolean fields. System.setProperty("guava.concurrent.generate_cancellation_cause", "true"); String concurrentPackage = SettableFuture.class.getPackage().getName(); classReloader = new URLClassLoader(ClassPathUtil.getClassPathUrls()) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 6.3K bytes - Click Count (0) -
src/test/java/jcifs/tests/persistent/PersistentHandleManagerTest.java
// Create temporary directory for test state tempDir = Files.createTempDirectory("jcifs-test-handles"); // Set system property for handle state directory System.setProperty("jcifs.smb.client.handleStateDirectory", tempDir.toString()); when(mockContext.getConfig()).thenReturn(mockConfig); manager = new PersistentHandleManager(mockContext); } @AfterEachCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 6.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java
} // Test initialization with system property @Test public void test_init_withSystemProperty() { File customDir = new File(tempDir, "custom"); System.setProperty(Constants.FESS_THUMBNAIL_PATH, customDir.getAbsolutePath()); try { ThumbnailManager manager = new ThumbnailManager() { @OverrideCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 20.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/FessPropTest.java
// Get existing component and update it instead of registering new one DynamicProperties existingProps = SingletonLaContainerFactory.getContainer().getComponent("systemProperties"); existingProps.setProperty("ldap.security.principal", "******@****.***"); assertEquals("@fess.codelibs.local", fessConfig.getLdapSecurityPrincipal(null)); assertEquals("@fess.codelibs.local", fessConfig.getLdapSecurityPrincipal(""));Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 25.4K bytes - Click Count (0) -
build-tools-internal/src/main/resources/forbidden/jdk-signatures.txt
java.lang.System#exit(int) java.lang.Runtime#exit(int) 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
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) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/PropertyProfileActivatorTest.java
Profile p = Profile.newBuilder().activation(a).build(); return p; } private Properties newProperties(String key, String value) { Properties props = new Properties(); props.setProperty(key, value); return props; } @Test void testNullSafe() throws Exception { Profile p = Profile.newInstance(); assertActivation(false, p, newContext(null, null));
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 5.7K bytes - Click Count (0)