Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Ugly (1.34 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelUrlNormalizer.java

     * under the License.
     */
    package org.apache.maven.api.services.model;
    
    import org.apache.maven.api.model.Model;
    import org.apache.maven.api.services.ModelBuilderRequest;
    
    /**
     * Normalizes URLs to remove the ugly parent references "../" that got potentially inserted by URL adjustment during
     * model inheritance.
     *
     */
    public interface ModelUrlNormalizer {
    
        /**
         * Normalizes the well-known URLs of the specified model.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultModelUrlNormalizer.java

    import org.apache.maven.api.services.ModelBuilderRequest;
    import org.apache.maven.api.services.model.ModelUrlNormalizer;
    import org.apache.maven.api.services.model.UrlNormalizer;
    
    /**
     * Normalizes URLs to remove the ugly parent references "../" that got potentially inserted by URL adjustment during
     * model inheritance.
     *
     */
    @Named
    @Singleton
    public class DefaultModelUrlNormalizer implements ModelUrlNormalizer {
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

        }
      }
    
      private static boolean equal(@Nullable Object a, @Nullable Object b) {
        return a == b || (a != null && a.equals(b));
      }
    
      // This one-liner saves us from some ugly casts
      protected Entry<K, V> entry(K key, V value) {
        return Helpers.mapEntry(key, value);
      }
    
      @Override
      protected void expectContents(Collection<Entry<K, V>> expected) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

        }
      }
    
      private static boolean equal(@Nullable Object a, @Nullable Object b) {
        return a == b || (a != null && a.equals(b));
      }
    
      // This one-liner saves us from some ugly casts
      protected Entry<K, V> entry(K key, V value) {
        return Helpers.mapEntry(key, value);
      }
    
      @Override
      protected void expectContents(Collection<Entry<K, V>> expected) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Equivalence.java

        // Ideally, the returned equivalence would support Iterable<? extends T>. However,
        // the need for this is so rare that it's not worth making callers deal with the ugly wildcard.
        return new PairwiseEquivalence<>(this);
      }
    
      /**
       * Returns a predicate that evaluates to true if and only if the input is equivalent to {@code
       * target} according to this equivalence relation.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Equivalence.java

        // Ideally, the returned equivalence would support Iterable<? extends T>. However,
        // the need for this is so rare that it's not worth making callers deal with the ugly wildcard.
        return new PairwiseEquivalence<>(this);
      }
    
      /**
       * Returns a predicate that evaluates to true if and only if the input is equivalent to {@code
       * target} according to this equivalence relation.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

        }
    
        @Override
        public E aboveSamplesGreater() {
          throw new UnsupportedOperationException();
        }
      }
    
      /*
       * TODO(cpovirk): surely we can find a less ugly solution than a class that accepts 3 parameters,
       * exposes as many getters, does work in the constructor, and has both a superclass and a subclass
       */
      public static class SortedMapSubmapTestMapGenerator<
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/HttpUrlJvmTest.kt

    import okhttp3.testing.PlatformRule
    import org.junit.jupiter.api.Test
    
    @Suppress("HttpUrlsUsage") // Don't warn if we should be using https://.
    open class HttpUrlJvmTest {
      val platform = PlatformRule()
    
      /** This one's ugly: the HttpUrl's host is non-empty, but the URI's host is null. */
      @Test
      fun hostContainsOnlyStrippedCharacters() {
        val url = "http://>/".toHttpUrl()
        assertThat(url.host).isEqualTo(">")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

        }
    
        @Override
        public E aboveSamplesGreater() {
          throw new UnsupportedOperationException();
        }
      }
    
      /*
       * TODO(cpovirk): surely we can find a less ugly solution than a class that accepts 3 parameters,
       * exposes as many getters, does work in the constructor, and has both a superclass and a subclass
       */
      public static class SortedMapSubmapTestMapGenerator<
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Ordering.java

         * handling not just {@code Iterable<S>} instances, but also any {@code
         * Iterable<? extends S>}. However, the need for this comes up so rarely
         * that it doesn't justify making everyone else deal with the very ugly
         * wildcard.
         */
        return new LexicographicalOrdering<S>(this);
      }
    
      // Regular instance methods
    
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 39.4K bytes
    - Viewed (0)
Back to top