- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 58 for props (0.02 sec)
-
src/test/java/jcifs/tests/ContextConfigTest.java
props.put("jcifs.smb.client.domain", "my-domain"); props.put("jcifs.smb.client.username", "my-default-user-id"); props.put("jcifs.smb.client.password", "my-default-password"); CIFSContext auth = new BaseContext(new PropertyConfiguration(props)); assertTrue(auth.hasDefaultCredentials()); assertTrue( auth.getCredentials() instanceof NtlmPasswordAuthenticator);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Mar 13 12:00:57 UTC 2023 - 9.9K bytes - Viewed (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java
pw.println("key3 = val3"); pw.println(""); MavenProperties props = new MavenProperties(); props.load(new StringReader(sw.toString())); props.save(System.err); System.err.println("====="); props.put("key2", props.get("key2")); props.put("key3", "foo"); props.save(System.err); System.err.println("====="); } @Test
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16.4K bytes - Viewed (0) -
compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java
Properties props = new Properties(); props.put("key", "user_value"); ToolchainModel toolchain = new ToolchainModel(); toolchain.setType("TYPE"); toolchain.setProvides(props); PersistedToolchains userResult = new PersistedToolchains(); userResult.setToolchains(Collections.singletonList(toolchain)); props = new Properties();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 14.5K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.1K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java
@Test public void testRecursiveExpressionCycleNPE() throws Exception { Map<String, String> props = new HashMap<>(); props.put("aa", "${bb}"); props.put("bb", "${aa}"); DefaultModelBuildingRequest request = new DefaultModelBuildingRequest(); Model model = Model.newBuilder().properties(props).build(); SimpleProblemCollector collector = new SimpleProblemCollector();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 22.2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java
version = artifact.getVersionRange().toString(); } Map<String, String> props = null; if (org.apache.maven.artifact.Artifact.SCOPE_SYSTEM.equals(artifact.getScope())) { String localPath = (artifact.getFile() != null) ? artifact.getFile().getPath() : ""; props = Collections.singletonMap(MavenArtifactProperties.LOCAL_PATH, localPath); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java
Properties props = cliRequest.getUserProperties(); if (cliRequest.getRootDirectory() != null) { props = new Properties(); props.putAll(cliRequest.getUserProperties()); props.put("session.rootDirectory", cliRequest.getRootDirectory().toString()); } settingsRequest.setUserProperties(props);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractor.java
final Properties props = new Properties(mailProperties); if (params != null) { for (final Map.Entry<String, String> entry : params.entrySet()) { props.put(entry.getKey(), entry.getValue()); } } try { final Session mailSession = Session.getDefaultInstance(props, null);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/tests/AllTests.java
return; } Properties props = new Properties(); try ( FileChannel ch = FileChannel.open(config, StandardOpenOption.READ); InputStream is = Channels.newInputStream(ch) ) { props.load(is); } if ( !props.isEmpty() ) { Map<String, String> map = toMap(props); String cfgname = fname.substring(0, fname.length() - 5);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Jul 07 10:52:42 UTC 2020 - 14.4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java
request.setRemoteRepositories(req.getRemoteRepositories()); } } else { Properties props = new Properties(); EnvironmentUtils.addEnvVars(props); props.putAll(System.getProperties()); request.setSystemProperties(props); } return request; } @SuppressWarnings("unchecked")
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.1K bytes - Viewed (0)