Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2211 - 2220 of 3,883 for void (0.07 sec)

  1. regression-test/src/androidTest/java/okhttp/regression/IssueReproductionTest.java

     * or Android SDKs.
     */
    @RunWith(AndroidJUnit4.class)
    public class IssueReproductionTest {
      @Test public void getFailsWithoutAdditionalCert() throws IOException {
        OkHttpClient client = new OkHttpClient();
    
        sendRequest(client, "https://google.com/robots.txt");
      }
    
      private void sendRequest(OkHttpClient client, String url) throws IOException {
        Request request = new Request.Builder()
                .url(url)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jul 26 06:37:08 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/LoggingInterceptors.java

      private final OkHttpClient client = new OkHttpClient.Builder()
          .addInterceptor(new LoggingInterceptor())
          .build();
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("https://publicobject.com/helloworld.txt")
            .build();
    
        Response response = client.newCall(request).execute();
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Jan 01 15:55:32 UTC 2016
    - 2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/eventbus/outside/OutsideEventBusTest.java

       * it can fail here.
       */
      public void testAnonymous() {
        final AtomicReference<String> holder = new AtomicReference<>();
        final AtomicInteger deliveries = new AtomicInteger();
        EventBus bus = new EventBus();
        bus.register(
            new Object() {
              @Subscribe
              public void accept(String str) {
                holder.set(str);
                deliveries.incrementAndGet();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTreeHandleInternal.java

    
    /**
     * @author mbechler
     *
     */
    public interface SmbTreeHandleInternal extends SmbTreeHandle {
    
        /**
         * 
         */
        void release ();
    
    
        /**
         * 
         * @throws SmbException
         * @throws CIFSException
         */
        void ensureDFSResolved () throws CIFSException;
    
    
        /**
         * @param cap
         * @return whether the capabiltiy is present
         * @throws CIFSException
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

            }
        }
    
    
        @Override
        public void removeTransport ( SmbTransport trans ) {
            if ( log.isDebugEnabled() ) {
                log.debug("Scheduling transport connection for removal " + trans + " (" + System.identityHashCode(trans) + ")");
            }
            this.toRemove.add((SmbTransportImpl) trans);
        }
    
    
        private void cleanup () {
            synchronized ( this.connections ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 12.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/TreeTraverser.java

          public UnmodifiableIterator<T> iterator() {
            return preOrderIterator(root);
          }
    
          @Override
          public void forEach(Consumer<? super T> action) {
            checkNotNull(action);
            new Consumer<T>() {
              @Override
              public void accept(T t) {
                action.accept(t);
                children(t).forEach(this);
              }
            }.accept(root);
          }
        };
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

            elevateWordIndexName = settingsIndexName + "-elevateword";
        }
    
        public void init() {
            if (initialized) {
                return;
            }
            initialized = true;
            initialize(initialSettings);
            new AnalyzerSettings(client, this, settingsIndexName).init();
        }
    
        private void initialize(final Map<String, Object> initialSettings) {
            boolean doIndexCreate = false;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  8. api/maven-api-di/src/main/java/org/apache/maven/di/tool/DiIndexProcessor.java

            } else {
                logMessage(Diagnostic.Kind.NOTE, "Content unchanged. Skipping file update.");
            }
        }
    
        private void logMessage(Diagnostic.Kind kind, String message) {
            processingEnv.getMessager().printMessage(kind, message);
        }
    
        private void logError(String message, Exception e) {
            StringWriter sw = new StringWriter();
            PrintWriter pw = new PrintWriter(sw);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Sep 16 06:25:19 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/project/artifact/MavenMetadataSourceTest.java

    @PlexusTest
    @Deprecated
    class MavenMetadataSourceTest {
        @Inject
        private RepositorySystem repositorySystem;
    
        @Inject
        PlexusContainer container;
    
        @Test
        @Disabled
        void testShouldNotCarryExclusionsOverFromDependencyToDependency() throws Exception {
            /*
            Dependency dep1 = new Dependency();
            dep1.setGroupId( "test" );
            dep1.setArtifactId( "test-artifact" );
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/query/StoredLtrQueryBuilder.java

        public static final ParseField PARAMS = new ParseField("params");
        public static final ParseField ACTIVE_FEATURES = new ParseField("active_features");
        private static final ObjectParser<StoredLtrQueryBuilder, Void> PARSER;
    
        static {
            PARSER = new ObjectParser<>(NAME);
            PARSER.declareString(StoredLtrQueryBuilder::modelName, MODEL_NAME);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top