- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 189 for props (0.02 seconds)
-
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();
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 14K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/PropertiesUtil.java
* </p> * * @param props the property set (must not be {@literal null}) * @param in the input stream (must not be {@literal null}) */ public static void load(final Properties props, final InputStream in) { assertArgumentNotNull("props", props); assertArgumentNotNull("in", in); try { props.load(in); } catch (final IOException e) {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 7.9K bytes - Click Count (0) -
src/test/java/jcifs/config/MultiChannelConfigurationTest.java
assertEquals(5, config.getChannelHealthCheckInterval()); } @Test void testCompleteMultiChannelConfiguration() throws CIFSException { Properties props = new Properties(); props.setProperty("jcifs.smb.client.useMultiChannel", "true"); props.setProperty("jcifs.smb.client.maxChannels", "6"); props.setProperty("jcifs.smb.client.channelBindingPolicy", "required");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 8.3K bytes - Click Count (0) -
src/main/java/jcifs/config/PropertyConfiguration.java
/** * Create a configuration backed by properties * * @param props properties object containing JCIFS configuration settings * @throws CIFSException if configuration initialization fails */ public PropertyConfiguration(Properties props) throws CIFSException { super(false); initFromProperties(props); initDefaults(); // Use original initDefaults } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:49:49 GMT 2025 - 13.3K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/type/TypeDeriver.java
Map<String, String> props = new HashMap<>(artifact.getProperties()); ArtifactType derived = derive(parentType, currentType); props.putAll(derived.getProperties()); node.setArtifact(artifact.setProperties(props)); } } }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Mar 28 11:22:05 GMT 2026 - 8K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java
Map<String, String> props = new HashMap<>(); props.put("aa", "${bb}"); props.put("bb", "${aa}"); DefaultModelBuildingRequest request = new DefaultModelBuildingRequest(); Model model = new Model( org.apache.maven.api.model.Model.newBuilder().properties(props).build());
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun Mar 30 23:08:36 GMT 2025 - 18.2K bytes - Click Count (0) -
src/test/java/jcifs/config/PropertyConfigurationTest.java
Properties props = new Properties(); // Set some default test properties props.setProperty("jcifs.smb.client.username", "testuser"); props.setProperty("jcifs.smb.client.password", "testpass"); props.setProperty("jcifs.smb.client.domain", "testdomain"); props.setProperty("jcifs.netbios.hostname", "testhost"); props.setProperty("jcifs.netbios.scope", "");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.3K bytes - Click Count (0) -
src/main/java/jcifs/Config.java
* * @param props the properties to search in * @param key the property key to look up * @param def the default value to return if key is not found or cannot be parsed * @return the integer value of the property or the default value */ public static int getInt(final Properties props, final String key, int def) { final String s = props.getProperty(key); if (s != null) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.1K bytes - Click Count (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); }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Sep 04 18:33:16 GMT 2025 - 15.8K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java
} Date readLastUpdated(File touchfile, String key) { getLogger().debug("Searching for " + key + " in resolution tracking file."); Properties props = read(touchfile); if (props != null) { String rawVal = props.getProperty(key); if (rawVal != null) { try { return new Date(Long.parseLong(rawVal));Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Dec 16 13:41:14 GMT 2025 - 9.4K bytes - Click Count (0)