- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 124 for prop0 (0.06 sec)
-
src/test/java/org/codelibs/core/lang/AnnotationUtilTest.java
final Annotation anno = m.getAnnotation(Hoge.class); final Map<String, Object> props = AnnotationUtil.getProperties(anno); assertThat((String) props.get("aaa"), is("123")); assertThat((String) props.get("bbb"), is("3")); assertThat(props.get("ccc"), is(nullValue())); }
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.5K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java
defaultActivation.setActiveByDefault(true); defaultActivated.setActivation(defaultActivation); Properties props = System.getProperties(); ProfileManager profileManager = new DefaultProfileManager(getContainer(), props); profileManager.addProfile(notActivated); profileManager.addProfile(defaultActivated); List active = profileManager.getActiveProfiles();Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sun Mar 30 23:08:36 UTC 2025 - 6.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/rtinfo/internal/DefaultRuntimeInformation.java
} private String loadMavenVersion() { Properties props = new Properties(); String resource = "META-INF/maven/org.apache.maven/maven-core/pom.properties"; try (InputStream is = DefaultRuntimeInformation.class.getResourceAsStream("/" + resource)) { if (is != null) { props.load(is); } else {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4K 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 Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Sep 04 18:33:16 UTC 2025 - 15.8K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/v4/ModelXmlTest.java
Map<String, String> props = new LinkedHashMap<>(); props.put("javax.version", "3.1.0"); props.put("mockito.version", "1.10.19"); props.put("hamcret.version", "2.1"); props.put("lombok.version", "1.18.6"); props.put("junit.version", "4.12"); Model model = Model.newBuilder(true).properties(props).build(); String xml = toXml(model);
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 4K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/internal/impl/PropertiesAsMapTest.java
class PropertiesAsMapTest { @Test void testPropertiesAsMap() { Properties props = new Properties(); props.setProperty("foo1", "bar1"); props.setProperty("foo2", "bar2"); PropertiesAsMap pam = new PropertiesAsMap(props); assertEquals(2, pam.size()); Set<Entry<String, String>> set = pam.entrySet(); assertNotNull(set);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 2.4K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorReaderDelegate.java
Artifact artifact = result.getArtifact(); Map<String, String> props = new HashMap<>(artifact.getProperties()); props.put(ArtifactProperties.DOWNLOAD_URL, downloadUrl); result.setArtifact(artifact.setProperties(props)); } }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Mar 20 22:29:18 UTC 2025 - 6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/DynamicProperties.java
final Properties prop = new Properties(); lastModified = propertiesFile.lastModified(); prop.load(inStream); properties = prop; } @Override public synchronized void load(final Reader reader) throws IOException { final Properties prop = new Properties(); lastModified = propertiesFile.lastModified(); prop.load(reader); properties = prop;
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java
Properties props = new Properties(); props.setProperty("jcifs.smb.client.useMultiChannel", "true"); props.setProperty("jcifs.smb.client.maxChannels", "4"); props.setProperty("jcifs.smb.client.loadBalancingStrategy", "adaptive"); props.setProperty("jcifs.smb.client.channelHealthCheckInterval", "5"); multiConfig = new PropertyConfiguration(props);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 8.2K bytes - Viewed (0) -
src/test/java/jcifs/context/SingletonContextTest.java
// Test successful initialization with custom properties Properties props = new Properties(); props.setProperty("jcifs.smb.client.nativeOs", "CustomOS"); props.setProperty("jcifs.smb.client.nativeLanMan", "CustomLanman"); assertDoesNotThrow(() -> SingletonContext.init(props)); CIFSContext context = SingletonContext.getInstance(); assertNotNull(context);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0)