- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 311 for setProperty (0.06 seconds)
-
compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivatorTest.java
return p; } private Properties newProperties(String osName, String osVersion, String osArch) { Properties props = new Properties(); props.setProperty("os.name", osName); props.setProperty("os.version", osVersion); props.setProperty("os.arch", osArch); return props; } @Test void testVersionStringComparison() throws Exception {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 10 07:09:12 GMT 2025 - 6.3K bytes - Click Count (0) -
src/main/java/jcifs/http/NtlmServlet.java
*/ p.setProperty("jcifs.smb.client.soTimeout", "300000"); p.setProperty("jcifs.netbios.cachePolicy", "600"); final Enumeration<String> e = config.getInitParameterNames(); String name; while (e.hasMoreElements()) { name = e.nextElement(); if (name.startsWith("jcifs.")) { p.setProperty(name, config.getInitParameter(name));Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.1K bytes - Click Count (1) -
src/main/java/org/codelibs/core/xml/SchemaFactoryUtil.java
} return schemaFactory; } private static void disableExternalResources(final SchemaFactory schemaFactory) { try { schemaFactory.setProperty(XMLConstants.ACCESS_EXTERNAL_SCHEMA, ""); schemaFactory.setProperty(XMLConstants.ACCESS_EXTERNAL_DTD, ""); } catch (final Exception e) { if (logger.isDebugEnabled()) { logger.debug("Failed to set a property.", e);Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 3K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/HandlerTest.java
static void setupProtocolHandler() { // Register the SMB protocol handler String pkgs = System.getProperty("java.protocol.handler.pkgs"); if (pkgs == null) { System.setProperty("java.protocol.handler.pkgs", "jcifs.smb1"); } else if (!pkgs.contains("jcifs.smb1")) { System.setProperty("java.protocol.handler.pkgs", pkgs + "|jcifs.smb1"); } } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 5.4K bytes - Click Count (0) -
src/main/java/jcifs/http/NtlmHttpFilter.java
*/ p.setProperty("jcifs.smb.lmCompatibility", "0"); p.setProperty("jcifs.smb.client.useExtendedSecurity", "false"); final Enumeration<String> e = filterConfig.getInitParameterNames(); while (e.hasMoreElements()) { name = e.nextElement(); if (name.startsWith("jcifs.")) { p.setProperty(name, filterConfig.getInitParameter(name));Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.3K bytes - Click Count (0) -
src/main/java/jcifs/context/SingletonContext.java
SingletonContext.getInstance(); String pkgs = System.getProperty("java.protocol.handler.pkgs"); if (pkgs == null) { System.setProperty("java.protocol.handler.pkgs", "jcifs"); } else if (pkgs.indexOf("jcifs") == -1) { pkgs += "|jcifs"; System.setProperty("java.protocol.handler.pkgs", pkgs); } } /** * */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.3K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java
} systemProperties.setProperty(Constants.MAVEN_VERSION_MAJOR, versionElements[0]); systemProperties.setProperty(Constants.MAVEN_VERSION_MINOR, versionElements[1]); systemProperties.setProperty(Constants.MAVEN_VERSION_PATCH, versionElements[2]); systemProperties.setProperty(Constants.MAVEN_VERSION_SNAPSHOT, Boolean.toString(snapshot));Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 10 07:39:11 GMT 2025 - 25.5K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/LookupInvokerLoggingTest.java
originalSystemProperty = System.getProperty(Constants.MAVEN_LOGGER_DEFAULT_LOG_LEVEL); // Clear system property to test configuration file loading System.clearProperty(Constants.MAVEN_LOGGER_DEFAULT_LOG_LEVEL); } @AfterEach void tearDown() { // Restore original system property if (originalSystemProperty != null) {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) -
src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java
originalLmCompatibility = System.getProperty("jcifs.smb1.smb.lmCompatibility"); // Set default for tests jcifs.smb1.Config.setProperty("jcifs.smb1.smb.lmCompatibility", "3"); } @AfterAll static void tearDownClass() { // Restore original property if (originalLmCompatibility != null) { jcifs.smb1.Config.setProperty("jcifs.smb1.smb.lmCompatibility", originalLmCompatibility);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java
*/ String save = System.getProperty("user.name"); System.setProperty("user.name", "-this-is-definitely-not-the-username-we-are-running-as//?"); try { TempFileCreator.testMakingUserPermissionsFromScratch(); assertThat(isJava8()).isFalse(); } catch (IOException expectedIfJava8) { assertThat(isJava8()).isTrue(); } finally { System.setProperty("user.name", save); } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Sep 25 19:16:54 GMT 2025 - 4.1K bytes - Click Count (0)