Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3081 - 3090 of 3,279 for 1final (0.17 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java

       * strategy.
       *
       * <p>Stashing this in a static field avoids loading it over and over again and speeds up test
       * execution significantly.
       */
      private static final ClassLoader NO_ATOMIC_FIELD_UPDATER =
          getClassLoader(
              ImmutableSet.of(
                  AtomicIntegerFieldUpdater.class.getName(),
                  AtomicReferenceFieldUpdater.class.getName()));
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/base/OptionalTest.java

    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Unit test for {@link Optional}.
     *
     * @author Kurt Alfred Kluever
     */
    @NullMarked
    @GwtCompatible
    public final class OptionalTest extends TestCase {
      @SuppressWarnings("NullOptional")
      public void testToJavaUtil_static() {
        assertThat(Optional.toJavaUtil(null)).isNull();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

                            new DefaultArtifactResolver(),
                            new DefaultRequestCacheFactory(),
                            new ArtifactManager() {
                                private final Map<String, Path> paths = new ConcurrentHashMap<>();
    
                                @Override
                                public Optional<Path> getPath(org.apache.maven.api.Artifact artifact) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleUserManualPlugin.java

    import static java.util.Arrays.asList;
    import static java.util.Collections.singletonList;
    import static java.util.Collections.singletonMap;
    
    public class GradleUserManualPlugin implements Plugin<Project> {
    
        public static final String DOCS_GRADLE_ORG = "https://docs.gradle.org/";
    
        @Override
        public void apply(Project project) {
            ProjectLayout layout = project.getLayout();
            TaskContainer tasks = project.getTasks();
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Dec 04 14:26:28 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

    /**
     * Shared methods of the repository metadata handling.
     *
     */
    @Deprecated
    public abstract class AbstractRepositoryMetadata implements RepositoryMetadata {
        private static final String LS = System.lineSeparator();
    
        private Metadata metadata;
    
        protected AbstractRepositoryMetadata(Metadata metadata) {
            this.metadata = metadata;
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelData.java

     *
     * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    class ModelData {
        private final ModelSource source;
    
        private Model model;
    
        private Model rawModel;
    
        private List<Profile> activeProfiles;
    
        private String groupId;
    
        private String artifactId;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/project/ProjectClasspathTestType.java

    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNull;
    
    @Deprecated
    class ProjectClasspathTestType extends AbstractMavenProjectTestCase {
        static final String DIR = "projects/scope/";
    
        @Override
        @BeforeEach
        public void setUp() throws Exception {
            super.setUp();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestrator.java

     * The DI container automatically sorts the injected strategies by their @Priority annotations.
     */
    @Named("strategy-orchestrator")
    @Singleton
    public class StrategyOrchestrator {
    
        private final List<UpgradeStrategy> strategies;
    
        @Inject
        public StrategyOrchestrator(List<UpgradeStrategy> strategies) {
            // DI container automatically sorts strategies by priority (highest first)
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 7K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/collect/ComparatorsTest.java

        Foo b = new Foo(1);
        assertThat(min(a, b, reverse)).isSameInstanceAs(a);
        assertThat(max(a, b, reverse)).isSameInstanceAs(a);
      }
    
      private static class Foo implements Comparable<Foo> {
        final Integer value;
    
        Foo(int value) {
          this.value = value;
        }
    
        @Override
        public int hashCode() {
          return value.hashCode();
        }
    
        @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Apr 12 15:07:59 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java

            .isEqualTo("Timed out waiting for Foo [STARTING] to reach the RUNNING state.");
      }
    
      private static class TestService extends AbstractIdleService {
        int startUpCalled = 0;
        int shutDownCalled = 0;
        final List<State> transitionStates = new ArrayList<>();
    
        @Override
        protected void startUp() throws Exception {
          assertEquals(0, startUpCalled);
          assertEquals(0, shutDownCalled);
          startUpCalled++;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 7.5K bytes
    - Click Count (0)
Back to Top