Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 232 for javadoc (0.07 seconds)

  1. samples/guide/src/main/java/okhttp3/recipes/RequestBodyCompression.java

      public void run() throws Exception {
        Map<String, String> requestBody = new LinkedHashMap<>();
        requestBody.put("longUrl", "https://publicobject.com/2014/12/04/html-formatting-javadocs/");
        RequestBody jsonRequestBody = RequestBody.create(
            mapJsonAdapter.toJson(requestBody), MEDIA_TYPE_JSON);
        Request request = new Request.Builder()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Jun 04 17:43:43 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/ImmutableMapEntry.java

       * {@code new ImmutableMapEntry[...]}, so it seems silly to insist on that only here.
       */
      @SuppressWarnings("unchecked") // Safe as long as the javadocs are followed
      static <K, V> ImmutableMapEntry<K, V>[] createEntryArray(int size) {
        return (ImmutableMapEntry<K, V>[]) new ImmutableMapEntry<?, ?>[size];
      }
    
      ImmutableMapEntry(K key, V value) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 01 21:42:29 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  3. maven-tests/mvnw

          JAVACCMD="$JAVA_HOME/jre/sh/javac"
        else
          JAVACMD="$JAVA_HOME/bin/java"
          JAVACCMD="$JAVA_HOME/bin/javac"
    
          if [ ! -x "$JAVACMD" ] || [ ! -x "$JAVACCMD" ]; then
            echo "The JAVA_HOME environment variable is not defined correctly, so mvnw cannot run." >&2
            echo "JAVA_HOME is set to \"$JAVA_HOME\", but \"\$JAVA_HOME/bin/java\" or \"\$JAVA_HOME/bin/javac\" does not exist." >&2
            return 1
          fi
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Sep 25 18:22:49 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  4. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts

            "JavaUtilDate", // We are fine with using Date
            "JavaxInjectOnAbstractMethod", // We use abstract injection as a pattern
            "MissingSummary", // We have another mechanism to check Javadocs on public API
            "StringSplitter", // We are fine with using String.split() as is
        )
    
        nullawayEnabled.convention(false)
    }
    
    nullaway {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 11 22:47:14 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  5. .teamcity/mvnw

    if $mingw ; then
      [ -n "$M2_HOME" ] &&
        M2_HOME="`(cd "$M2_HOME"; pwd)`"
      [ -n "$JAVA_HOME" ] &&
        JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`"
    fi
    
    if [ -z "$JAVA_HOME" ]; then
      javaExecutable="`which javac`"
      if [ -n "$javaExecutable" ] && ! [ "`expr \"$javaExecutable\" : '\([^ ]*\)'`" = "no" ]; then
        # readlink(1) is not available as standard on Solaris 10.
        readLink=`which readlink`
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Feb 26 01:48:39 GMT 2020
    - 9.8K bytes
    - Click Count (0)
  6. guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/Platform.java

    package com.google.common.collect.testing;
    
    import java.util.Arrays;
    
    /**
     * Minimal GWT emulation of {@code com.google.common.collect.testing.Platform}.
     *
     * <p><strong>This .java file should never be consumed by javac.</strong>
     *
     * @author Hayward Chan
     */
    final class Platform {
      // Class.cast is not supported in GWT.
      static void checkCast(Class<?> clazz, Object obj) {}
    
      static <T> T[] clone(T[] array) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.1K bytes
    - Click Count (0)
  7. benchmarks/build.gradle

      runtimeOnly 'org.apache.commons:commons-math3:3.2'
    }
    
    // enable the JMH's BenchmarkProcessor to generate the final benchmark classes
    // needs to be added separately otherwise Gradle will quote it and javac will fail
    tasks.named("compileJava").configure {
      options.compilerArgs.addAll(["-processor", "org.openjdk.jmh.generators.BenchmarkProcessor"])
    }
    
    tasks.register('copyExpression', Copy) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 08 22:04:23 GMT 2021
    - 2.5K bytes
    - Click Count (0)
  8. compat/maven-compat/src/test/resources/pom.xml

          <version>1.0</version>
          <type>jar</type>
          <scope>compile</scope>
        </dependency>
        <dependency>
          <groupId>plexus</groupId>
          <artifactId>plexus-compiler-javac</artifactId>
          <version>1.0</version>
          <type>jar</type>
          <scope>compile</scope>
        </dependency>
        <dependency>
          <groupId>surefire</groupId>
          <artifactId>surefire-booter</artifactId>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.9K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java

        ImmutableTypeToInstanceMap<Iterable<?>[]> map =
            ImmutableTypeToInstanceMap.<Iterable<?>[]>builder().put(type, array).build();
        assertEquals(1, map.size());
        // Redundant cast works around a javac bug.
        assertThat((Iterable<?>[]) map.getInstance(type)).asList().containsExactly(array[0]);
      }
    
      public void testWildcardType() {
        TypeToken<ImmutableList<?>> type = new TypeToken<ImmutableList<?>>() {};
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 6.9K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/reflect/SubtypeTester.java

     * annotated by {@link TestSubtype}.
     *
     * <p>These declaration methods rely on Java static type checking to make sure what we want to
     * assert as subtypes are really subtypes according to javac. For example:
     *
     * {@snippet :
     * class MySubtypeTests extends SubtypeTester {
     *   @TestSubtype(suppressGetSubtype = true, suppressGetSupertype = true)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 6.1K bytes
    - Click Count (0)
Back to Top