- Sort Score
- Num 10 results
- Language All
Results 301 - 310 of 3,237 for New (0.01 seconds)
-
guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java
private final SubscriberRegistry registry = new SubscriberRegistry(new EventBus()); public void testRegister() { assertEquals(0, registry.getSubscribersForTesting(String.class).size()); registry.register(new StringSubscriber()); assertEquals(1, registry.getSubscribersForTesting(String.class).size()); registry.register(new StringSubscriber());
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 5.8K bytes - Click Count (0) -
CONTRIBUTING.md
============ Keeping the project small and stable limits our ability to accept new contributors. We are not seeking new committers at this time, but some small contributions are welcome. If you've found a security problem, please follow our [bug bounty][security] program. If you've found a bug, please contribute a failing test case so we can study and fix it. If you have a new feature idea, please build it in an external library. There are
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Feb 14 08:26:50 GMT 2023 - 2K bytes - Click Count (0) -
docs/contribute/contributing.md
============ Keeping the project small and stable limits our ability to accept new contributors. We are not seeking new committers at this time, but some small contributions are welcome. If you've found a security problem, please follow our [bug bounty][security] program. If you've found a bug, please contribute a failing test case so we can study and fix it. If you have a new feature idea, please build it in an external library. There are
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Feb 14 08:26:50 GMT 2023 - 2K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/CancelCall.java
import okhttp3.Response; public class CancelCall { private final ScheduledExecutorService executor = Executors.newScheduledThreadPool(1); private final OkHttpClient client = new OkHttpClient(); public void run() throws Exception { Request request = new Request.Builder() .url("http://httpbin.org/delay/2") // This URL is served with a 2 second delay. .build(); final long startNanos = System.nanoTime();Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Jan 12 03:31:36 GMT 2019 - 2.1K bytes - Click Count (0) -
samples/simple-client/src/main/java/okhttp3/sample/OkHttpContributors.java
private static final Moshi MOSHI = new Moshi.Builder().build(); private static final JsonAdapter<List<Contributor>> CONTRIBUTORS_JSON_ADAPTER = MOSHI.adapter( Types.newParameterizedType(List.class, Contributor.class)); static class Contributor { String login; int contributions; } public static void main(String... args) throws Exception { OkHttpClient client = new OkHttpClient();
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Apr 05 03:30:42 GMT 2024 - 2.2K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/deployer/SimpleArtifactMetadataSource.java
throw new UnsupportedOperationException("Cannot retrieve metadata in this test case"); } @Override public List<ArtifactVersion> retrieveAvailableVersions( Artifact artifact, ArtifactRepository localRepository, List<ArtifactRepository> remoteRepositories) { return Collections.singletonList(new DefaultArtifactVersion("10.1.3")); } @Override
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.5K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/LegacyRepositorySystemTest.java
File basedir = new File("target/spacy path").getAbsoluteFile(); ArtifactRepository repo = repositorySystem.createLocalRepository(basedir); assertEquals(basedir, new File(repo.getBasedir())); } @Test void testAuthenticationHandling() { Server server = new Server(); server.setId("repository"); server.setUsername("jason");
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.4K bytes - Click Count (0) -
docs/changelogs/changelog_4x.md
This artifact has a dependency on Google's Brotli decoder (95 KiB). * New: `EventListener.proxySelectStart()`, `proxySelectEnd()` events give visibility into the proxy selection process. * New: `Response.byteString()` reads the entire response into memory as a byte string. * New: `OkHttpClient.x509TrustManager` accessor. * New: Permit [new WebSocket response codes][iana_websocket]: 1012 (Service Restart), 1013 (TryCreated: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Apr 17 13:25:31 GMT 2024 - 25.2K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/collect/testing/HelpersTest.java
} public void testIsEmpty_iterable() { List<Object> list = new ArrayList<>(); assertEmpty(list); assertEmpty(() -> emptyIterator()); list.add("a"); try { assertEmpty(list); throw new Error(); } catch (AssertionFailedError expected) { } try { assertEmpty( new Iterable<String>() { @Override
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Apr 12 15:07:59 GMT 2025 - 4.9K bytes - Click Count (0) -
guava-testlib/test/com/google/common/collect/testing/HelpersTest.java
} public void testIsEmpty_iterable() { List<Object> list = new ArrayList<>(); assertEmpty(list); assertEmpty(() -> emptyIterator()); list.add("a"); try { assertEmpty(list); throw new Error(); } catch (AssertionFailedError expected) { } try { assertEmpty( new Iterable<String>() { @Override
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Apr 12 15:07:59 GMT 2025 - 4.9K bytes - Click Count (0)