Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2381 - 2390 of 4,859 for classic (0.03 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionSizeTester.java

    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class CollectionSizeTester<E> extends AbstractCollectionTester<E> {
      public void testSize() {
        assertEquals("size():", getNumElements(), collection.size());
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/MapSizeTester.java

    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MapSizeTester<K, V> extends AbstractMapTester<K, V> {
      public void testSize() {
        assertEquals("size():", getNumElements(), getMap().size());
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/CertificatePinning.java

    import java.io.IOException;
    import java.security.cert.Certificate;
    import okhttp3.CertificatePinner;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.Response;
    
    public final class CertificatePinning {
      private final OkHttpClient client = new OkHttpClient.Builder()
          .certificatePinner(
              new CertificatePinner.Builder()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Dec 08 21:30:01 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlWriterException.java

    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.services.MavenException;
    
    /**
     * An exception thrown while writing an XML file.
     *
     * @since 4.0.0
     */
    @Experimental
    public class XmlWriterException extends MavenException {
    
        private final Location location;
    
        /**
         * @param message the message for the exception
         * @param e the exception itself
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/filter/InversionArtifactFilter.java

     * under the License.
     */
    package org.apache.maven.artifact.resolver.filter;
    
    import org.apache.maven.artifact.Artifact;
    
    /**
     * InversionArtifactFilter
     */
    @Deprecated
    public class InversionArtifactFilter implements ArtifactFilter {
        private final ArtifactFilter toInvert;
    
        public InversionArtifactFilter(ArtifactFilter toInvert) {
            this.toInvert = toInvert;
        }
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/ConflictResolverFactory.java

    @Deprecated
    public interface ConflictResolverFactory {
        // constants --------------------------------------------------------------
    
        /** The plexus role for this component. */
        String ROLE = ConflictResolverFactory.class.getName();
    
        // methods ----------------------------------------------------------------
    
        /**
         * Gets a conflict resolver of the specified type.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. api/maven-api-annotations/src/main/java/org/apache/maven/api/annotations/Immutable.java

     * none of its field can be changed.  This also ensures that the type is
     * {@link ThreadSafe}.
     *
     * @see ThreadSafe
     * @since 4.0.0
     */
    @Experimental
    @Documented
    @Retention(RetentionPolicy.CLASS)
    @ThreadSafe
    @Target(ElementType.TYPE)
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 10 21:43:27 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/spi/PropertyContributorsHolder.java

    import org.apache.maven.api.di.Inject;
    import org.apache.maven.api.di.Named;
    import org.apache.maven.api.spi.PropertyContributor;
    
    /**
     * Hack: to circumvent sisu/plexus/di stuff.
     */
    @Named
    public final class PropertyContributorsHolder {
        private final Map<String, PropertyContributor> propertyContributors;
    
        @Inject
        public PropertyContributorsHolder(Map<String, PropertyContributor> propertyContributors) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Nov 20 19:58:27 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/cisupport/TeamcityCIDetector.java

     * under the License.
     */
    package org.apache.maven.cling.invoker.cisupport;
    
    import java.util.Optional;
    
    import org.apache.maven.api.cli.cisupport.CIInfo;
    
    /**
     * TeamCity CI support.
     */
    public class TeamcityCIDetector implements CIDetector {
        public static final String NAME = "TeamCity";
    
        private static final String TEAMCITY_VERSION = "TEAMCITY_VERSION";
    
        @Override
        public Optional<CIInfo> detectCI() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Apr 13 18:50:07 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  10. compat/maven-plugin-api/src/test/java/org/apache/maven/plugin/descriptor/MojoDescriptorTest.java

     * under the License.
     */
    package org.apache.maven.plugin.descriptor;
    
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    class MojoDescriptorTest {
        @Test
        void getParameterMap() throws DuplicateParameterException {
            MojoDescriptor mojoDescriptor = new MojoDescriptor();
            Parameter param1 = new Parameter();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top