Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 328 for printEnv (0.06 sec)

  1. src/test/java/org/codelibs/core/collection/SLinkedListTest.java

                list.getEntry(-1);
                fail();
            } catch (final ClIndexOutOfBoundsException ex) {
                System.out.println(ex);
            }
            try {
                list.getEntry(3);
                fail();
            } catch (final ClIndexOutOfBoundsException ex) {
                System.out.println(ex);
            }
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/Config.java

            }
    
            try {
                "".getBytes(DEFAULT_OEM_ENCODING);
            } catch (UnsupportedEncodingException uee) {
                if (log.level >= 2) {
                    log.println("WARNING: The default OEM encoding " + DEFAULT_OEM_ENCODING +
                    " does not appear to be supported by this JRE. The default encoding will be US-ASCII.");
                }
                DEFAULT_OEM_ENCODING = "US-ASCII";
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.3K bytes
    - Viewed (0)
  3. okhttp-tls/README.md

    Call call = client.newCall(new Request.Builder()
        .url(server.url("/"))
        .build());
    Response response = call.execute();
    System.out.println(response.handshake().peerPrincipal());
    RecordedRequest recordedRequest = server.takeRequest();
    System.out.println(recordedRequest.getHandshake().peerPrincipal());
    ```
    
    This handshake is successful because each party has prearranged to trust the root certificate that
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Dec 17 15:34:10 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/io/ResourceUtilTest.java

            try {
                ResourceUtil.getResource("hoge", "xml");
                fail("2");
            } catch (final ResourceNotFoundRuntimeException e) {
                System.out.println(e);
                assertEquals("3", "hoge.xml", e.getPath());
            }
            System.out.println(ResourceUtil.getResource("."));
        }
    
        /**
         * @throws Exception
         */
        public void testGetResourceAsStreamNoException() throws Exception {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/kt/CustomTrust.kt

              for (i in 0 until responseHeaders.size) {
                println(responseHeaders.name(i) + ": " + responseHeaders.value(i))
              }
              throw IOException("Unexpected code $response")
            }
            println(response.body.string())
    
            for (peerCertificate in response.handshake?.peerCertificates.orEmpty()) {
              println((peerCertificate as X509Certificate).subjectDN)
            }
          }
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  6. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/ToolchainsBuildingException.java

            writer.print(problems.size());
            writer.print((problems.size() == 1) ? " problem was " : " problems were ");
            writer.print("encountered while building the effective toolchains");
            writer.println();
    
            for (Problem problem : problems) {
                writer.print("[");
                writer.print(problem.getSeverity());
                writer.print("] ");
                writer.print(problem.getMessage());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. samples/guide/src/main/java/okhttp3/recipes/AsynchronousGet.java

              Headers responseHeaders = response.headers();
              for (int i = 0, size = responseHeaders.size(); i < size; i++) {
                System.out.println(responseHeaders.name(i) + ": " + responseHeaders.value(i));
              }
    
              System.out.println(responseBody.string());
            }
          }
        });
      }
    
      public static void main(String... args) throws Exception {
        new AsynchronousGet().run();
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 1.9K bytes
    - Viewed (0)
  8. samples/guide/src/main/java/okhttp3/recipes/ParseResponseWithMoshi.java

          Gist gist = gistJsonAdapter.fromJson(response.body().source());
    
          for (Map.Entry<String, GistFile> entry : gist.files.entrySet()) {
            System.out.println(entry.getKey());
            System.out.println(entry.getValue().content);
          }
        }
      }
    
      static class Gist {
        Map<String, GistFile> files;
      }
    
      static class GistFile {
        String content;
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 1.8K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/test/kotlin/okhttp3/testing/PlatformRuleTest.kt

    /**
     * Validates which environment is used by the IDE.
     */
    class PlatformRuleTest {
      @RegisterExtension @JvmField
      val platform = PlatformRule()
    
      @Test
      fun testMode() {
        println(PlatformRule.getPlatformSystemProperty())
        println(Platform.get().javaClass.simpleName)
      }
    
      @Test
      fun testGreenCase() {
      }
    
      @Test
      fun testGreenCaseFailingOnLater() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Init.java

            boolean yes = context.invokerRequest.options().yes().orElse(false);
    
            if (configExists() && !force) {
                context.terminal
                        .writer()
                        .println(
                                messageBuilderFactory
                                        .builder()
                                        .error(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top