- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 180 for getProperty (0.4 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava-tests/test/com/google/common/base/StandardSystemPropertyTest.java
} } public void testGetValue() { for (StandardSystemProperty property : StandardSystemProperty.values()) { assertThat(property.value()).isEqualTo(System.getProperty(property.key())); } } public void testToString() { for (StandardSystemProperty property : StandardSystemProperty.values()) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 01:05:11 GMT 2026 - 2.6K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/JdkPrefixProfileActivator.java
import org.apache.maven.model.Profile; /** * JdkPrefixProfileActivator */ @Deprecated public class JdkPrefixProfileActivator extends DetectedProfileActivator { private static final String JDK_VERSION = System.getProperty("java.version"); @Override public boolean isActive(Profile profile) throws ProfileActivationException { Activation activation = profile.getActivation(); String jdk = activation.getJdk();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 3K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/MavenBuildTimestamp.java
public MavenBuildTimestamp(Date time) { this(time, DEFAULT_BUILD_TIMESTAMP_FORMAT); } public MavenBuildTimestamp(Date time, Properties properties) { this(time, properties != null ? properties.getProperty(BUILD_TIMESTAMP_FORMAT_PROPERTY) : null); } public MavenBuildTimestamp(Date time, String timestampFormat) { if (timestampFormat == null) { timestampFormat = DEFAULT_BUILD_TIMESTAMP_FORMAT;
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 2.4K bytes - Click Count (0) -
src/main/java/jcifs/http/NetworkExplorer.java
p.putAll(System.getProperties()); p.setProperty("jcifs.smb.client.soTimeout", "600000"); p.setProperty("jcifs.smb.client.attrExpirationPeriod", "300000"); final Enumeration<String> e = getInitParameterNames(); while (e.hasMoreElements()) { name = e.nextElement(); if (name.startsWith("jcifs.")) { p.setProperty(name, getInitParameter(name)); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 23.4K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/ProfilesConversionUtils.java
org.apache.maven.profiles.ActivationProperty profileProp = profileActivation.getProperty(); if (profileProp != null) { ActivationProperty prop = new ActivationProperty(); prop.setName(profileProp.getName()); prop.setValue(profileProp.getValue()); activation.setProperty(prop); } ActivationOS profileOs = profileActivation.getOs();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/ForwardingExecutorServiceTest.java
return; // close() doesn't exist, so we can't test it. } closeMethod.invoke(wrapper); assertThat(delegate.isTerminated()).isTrue(); } private static boolean isAndroid() { return System.getProperty("java.runtime.name", "").contains("Android"); } private static boolean isBeforeJava19() { return JAVA_SPECIFICATION_VERSION.value().equals("1.8") || parseInt(JAVA_SPECIFICATION_VERSION.value()) < 19;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 2.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/StandardSystemPropertyTest.java
} } public void testGetValue() { for (StandardSystemProperty property : StandardSystemProperty.values()) { assertThat(property.value()).isEqualTo(System.getProperty(property.key())); } } public void testToString() { for (StandardSystemProperty property : StandardSystemProperty.values()) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 01:05:11 GMT 2026 - 2.6K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/logging/Slf4jConfigurationFactory.java
try (InputStream in = is) { properties.load(in); } } String impl = properties.getProperty(slf4jBinding); if (impl != null) { return (Slf4jConfiguration) Class.forName(impl).getDeclaredConstructor().newInstance(); }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Nov 08 08:49:11 GMT 2024 - 3.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/CharSinkTest.java
} public void testWriteLines_withDefaultSeparator() throws IOException { sink.writeLines(ImmutableList.of("foo", "bar", "baz")); String separator = System.getProperty("line.separator"); assertThat(sink.getString()) .isEqualTo("foo" + separator + "bar" + separator + "baz" + separator); } public void testWriteLines_stream() throws IOException {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 4.7K bytes - Click Count (0) -
src/main/java/jcifs/smb1/http/NetworkExplorer.java
String name; Config.setProperty("jcifs.smb1.smb.client.soTimeout", "600000"); Config.setProperty("jcifs.smb1.smb.client.attrExpirationPeriod", "300000"); final Enumeration e = getInitParameterNames(); while (e.hasMoreElements()) { name = (String) e.nextElement(); if (name.startsWith("jcifs.smb1.")) { Config.setProperty(name, getInitParameter(name));Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 22.6K bytes - Click Count (0)