Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2721 - 2730 of 4,842 for new1 (0.02 seconds)

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

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategyTest.java

     */
    @DisplayName("ModelUpgradeStrategy")
    class ModelUpgradeStrategyTest {
    
        private ModelUpgradeStrategy strategy;
    
        @BeforeEach
        void setUp() {
            strategy = new ModelUpgradeStrategy();
        }
    
        private UpgradeContext createMockContext(UpgradeOptions options) {
            return TestUtils.createMockContext(options);
        }
    
        @Nested
        @DisplayName("Applicability")
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 38.8K bytes
    - Click Count (0)
  2. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SinceAndIncubatingRulesKotlinTest.kt

            /** @since 2.0 */
            @Incubating
            fun wrap(a: kotlin.collections.HashMap<String, String>, b: kotlin.collections.LinkedHashMap<String, String>): Unit = Unit
    
        """
    
        @Test
        fun `new top-level kotlin members`() {
    
            checkNotBinaryCompatibleKotlin(
                v2 = """
    
               $publicKotlinMembers
    
                const val cathedral = "cathedral"
    
                """
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jun 06 17:52:09 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/MapMaker.java

     * in {@linkplain WeakReference weak} references.
     *
     * <p>Usage example:
     *
     * {@snippet :
     * ConcurrentMap<Request, Stopwatch> timers = new MapMaker()
     *     .concurrencyLevel(4)
     *     .weakKeys()
     *     .makeMap();
     * }
     *
     * <p>These features are all optional; {@code new MapMaker().makeMap()} returns a valid concurrent
     * map that behaves similarly to a {@link ConcurrentHashMap}.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/core/net/URLUtilTest.java

        /**
         * @throws Exception
         */
        public void testToFile() throws Exception {
            final File file = new File("Program Files/hoge.txt");
            final URL url = file.toURI().toURL();
            assertEquals(file.getAbsoluteFile(), URLUtil.toFile(url));
            assertEquals(file.getAbsoluteFile(), URLUtil.toFile(new URL("file:Program%20Files/hoge.txt")));
        }
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/project/interpolation/StringSearchModelInterpolatorTest.java

                    .location("groupId", InputLocation.of(InputSource.of("model", null)))
                    .build();
            StringSearchModelInterpolator interpolator = new StringSearchModelInterpolator();
            interpolator.initialize();
            interpolator.interpolate(new org.apache.maven.model.Model(model), Map.of());
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/impl/CoreUtils.java

    class CoreUtils {
    
        public static <T> T cast(Class<T> clazz, Object o, String name) {
            if (!clazz.isInstance(o)) {
                if (o == null) {
                    throw new IllegalArgumentException(name + " is null");
                }
                throw new IllegalArgumentException(name + " is not an instance of " + clazz.getName());
            }
            return clazz.cast(o);
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Mar 24 22:23:23 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  7. cmd/storage-errors.go

    var errDoneForNow = errors.New("done for now")
    
    // errSkipFile returned by the fn() for readDirFn() when it needs
    // to proceed to next entry.
    var errSkipFile = errors.New("skip this file")
    
    var errIgnoreFileContrib = errors.New("ignore this file's contribution toward data-usage")
    
    // errXLBackend XL drive mode requires fresh deployment.
    var errXLBackend = errors.New("XL backend requires fresh drive")
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.4K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/core/lang/StringUtilTest.java

        public void testNewStringUnsafe() {
            assertNull(StringUtil.newStringUnsafe(null));
            char[] chars = new char[0];
            assertThat(StringUtil.newStringUnsafe(chars), is(""));
            chars = new char[] { 'a', 'b', 'c' };
            assertThat(StringUtil.newStringUnsafe(chars), is("abc"));
            chars = new char[] { 'a', 'b', 'c', ' ' };
            assertThat(StringUtil.newStringUnsafe(chars), is("abc "));
        }
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/StringVisitorModelInterpolatorTest.java

    @Deprecated
    public class StringVisitorModelInterpolatorTest extends AbstractModelInterpolatorTest {
        @Override
        protected ModelInterpolator createInterpolator() {
            return new StringVisitorModelInterpolator().setVersionPropertiesProcessor(new DefaultModelVersionProcessor());
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  10. .ci/os.ps1

    $env:ES_RUNTIME_JAVA=$AppProps.ES_RUNTIME_JAVA
    
    $ErrorActionPreference="Stop"
    $gradleInit = "C:\Users\$env:username\.gradle\init.d\"
    echo "Remove $gradleInit"
    Remove-Item -Recurse -Force $gradleInit -ErrorAction Ignore
    New-Item -ItemType directory -Path $gradleInit
    echo "Copy .ci/init.gradle to $gradleInit"
    Copy-Item .ci/init.gradle -Destination $gradleInit
    
    [Environment]::SetEnvironmentVariable("JAVA_HOME", $null, "Machine")
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Jul 08 20:49:46 GMT 2020
    - 1.3K bytes
    - Click Count (0)
Back to Top