- Sort Score
- Num 10 results
- Language All
Results 811 - 820 of 5,478 for newA (0.02 seconds)
-
api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java
} /** * Creates a new XmlNode instance with the specified name. * * @param name the name for the new node * @return a new XmlNode instance * @throws NullPointerException if name is null */ static XmlNode newInstance(String name) { return newBuilder().name(name).build(); } /** * Creates a new XmlNode instance with the specified name and value.Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Dec 17 15:20:44 GMT 2025 - 18.3K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/MsPowerPointExtractor.java
validateInputStream(in); try (final HSLFSlideShow slideShow = new HSLFSlideShow(in); final SlideShowExtractor<HSLFShape, HSLFTextParagraph> extractor = new SlideShowExtractor<>(slideShow)) { return new ExtractData(extractor.getText()); } catch (final IOException e) { throw new ExtractException("Failed to extract text from PowerPoint document.", e); } }
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Mon Nov 24 03:59:47 GMT 2025 - 2K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/PreemptiveAuth.java
public final class PreemptiveAuth { private final OkHttpClient client; public PreemptiveAuth() { client = new OkHttpClient.Builder() .addInterceptor( new BasicAuthInterceptor("publicobject.com", "jesse", "password1")) .build(); } public void run() throws Exception { Request request = new Request.Builder() .url("https://publicobject.com/secrets/hellosecret.txt") .build();Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Nov 05 07:46:46 GMT 2018 - 2.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/ActivationSettings.java
return new ActivationSettings(active, optional, recursive); } static ActivationSettings activated() { return new ActivationSettings(true, false, true); } static ActivationSettings activatedOpt() { return new ActivationSettings(true, true, true); } static ActivationSettings deactivated() { return new ActivationSettings(false, false, false); }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 11 16:38:19 GMT 2025 - 2K bytes - Click Count (0) -
build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateReleasedVersionsIntegrationTest.groovy
} ReleasedVersion releasedVersion(String version, long date = System.currentTimeMillis()) { new ReleasedVersion(version, format.format(new Date(date))) } ReleasedVersion snapshot(String baseVersion, long date = System.currentTimeMillis()) { releasedVersion("${baseVersion}-${format.format(new Date(date))}", date) }Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Aug 17 08:32:56 GMT 2021 - 2.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/LocalCacheTest.java
assertThat(listener.isEmpty()).isTrue(); Object one = new Object(); Object two = new Object(); Object three = new Object(); Object four = new Object(); Object five = new Object(); Object six = new Object(); map.put(one, two); map.remove(one); assertNotified(listener, one, two, RemovalCause.EXPLICIT);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 12 00:25:21 GMT 2025 - 117.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java
Kerb5Authenticator a = new Kerb5Authenticator((Subject) null); Kerb5Authenticator b = new Kerb5Authenticator((Subject) null); // Both null subjects -> equal assertEquals(a, b); assertEquals(a.hashCode(), b.hashCode()); // Mixed null/non-null -> not equal Kerb5Authenticator c = new Kerb5Authenticator(new Subject()); assertNotEquals(a, c);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringSearchModelInterpolator.java
fields.add(new StringField(currentField)); } } else if (List.class.isAssignableFrom(type)) { fields.add(new ListField(currentField)); } else if (Collection.class.isAssignableFrom(type)) {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 10 07:09:12 GMT 2025 - 15.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/NullCacheTest.java
listener = queuingRemovalListener(); } public void testGet() { Object computed = new Object(); LoadingCache<Object, Object> cache = CacheBuilder.newBuilder() .maximumSize(0) .removalListener(listener) .build(constantLoader(computed)); Object key = new Object(); assertThat(cache.getUnchecked(key)).isSameInstanceAs(computed);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:07:52 GMT 2025 - 4.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/NullCacheTest.java
listener = queuingRemovalListener(); } public void testGet() { Object computed = new Object(); LoadingCache<Object, Object> cache = CacheBuilder.newBuilder() .maximumSize(0) .removalListener(listener) .build(constantLoader(computed)); Object key = new Object(); assertThat(cache.getUnchecked(key)).isSameInstanceAs(computed);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:07:52 GMT 2025 - 4.6K bytes - Click Count (0)