- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 4,817 for new2 (0.04 sec)
-
compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java
ScopeManagerImpl scopeManager = new ScopeManagerImpl(Maven4ScopeManagerConfiguration.INSTANCE); session.setScopeManager(scopeManager); DependencyGraphTransformer transformer = new ConflictResolver( new NearestVersionSelector(), new ManagedScopeSelector(scopeManager), new SimpleOptionalitySelector(), new ManagedScopeDeriver(scopeManager)); transformer =
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/ArrayUtilTest.java
assertThat(ArrayUtil.equalsIgnoreSequence(new Object[] { "1" }, new Object[] { "1" }), is(true)); assertThat(ArrayUtil.equalsIgnoreSequence(new Object[] { "1", "2", "3" }, new Object[] { "2", "3", "1" }), is(true)); assertThat(ArrayUtil.equalsIgnoreSequence(new Object[] { "1" }, new Object[] { "2" }), is(not(true))); assertThat(ArrayUtil.equalsIgnoreSequence(new Object[] { "1" }, new Object[] {}), is(not(true)));
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 10.6K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java
public void testList() { assertFreshInstance(new TypeToken<List<String>>() {}); assertNotInstantiable(new TypeToken<List<EmptyEnum>>() {}); } public void testArrayList() { assertFreshInstance(new TypeToken<ArrayList<String>>() {}); assertNotInstantiable(new TypeToken<ArrayList<EmptyEnum>>() {}); } public void testLinkedList() { assertFreshInstance(new TypeToken<LinkedList<String>>() {}); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 17.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/SourceSinkFactories.java
return new StringSourceFactory(); } public static ByteSourceFactory byteArraySourceFactory() { return new ByteArraySourceFactory(); } public static ByteSourceFactory emptyByteSourceFactory() { return new EmptyByteSourceFactory(); } public static CharSourceFactory emptyCharSourceFactory() { return new EmptyCharSourceFactory(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 12.6K bytes - Viewed (0) -
compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java
Map<String, String> envVarMap = new HashMap<>(); envVarMap.put("testKey", "testValue"); envVarMap.put("testSpecialCharactersKey", "<test&Value>"); OperatingSystemUtils.setEnvVarSource(new TestEnvVarSource(envVarMap)); toolchainBuilder = new DefaultToolchainsBuilder( new org.apache.maven.internal.impl.DefaultToolchainsBuilder( new DefaultInterpolator(), toolchainsXmlFactory),
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 14.5K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RemoteSnapshotMetadataTest.java
return df.format(new Date()); } @Test void gregorianCalendarIsUsed() { String dateBefore = gregorianDate(); RemoteSnapshotMetadata metadata = new RemoteSnapshotMetadata(new DefaultArtifact("a:b:1-SNAPSHOT"), new Date(), null); metadata.merge(new Metadata()); String dateAfter = gregorianDate();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java
readings[0] = l.toArray(new String[l.size()]); if (items == null) { items = new ArrayList<>(text.length() * fields.length / field.length()); } final String[] langs = lang == null ? new String[] {} : new String[] { lang }; items.add(new SuggestItem(words, readings, new String[] { field }, 1L, 0, -1, tags, roles, langs,
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 13.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/AbstractLoadingCacheTest.java
assertThat(expected).hasCauseThat().isEqualTo(cause); Object newValue = new Object(); valueRef.set(newValue); assertSame(newValue, cache.getUnchecked(new Object())); } public void testGetUnchecked_unchecked() { final RuntimeException cause = new RuntimeException(); final AtomicReference<Object> valueRef = new AtomicReference<>();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/ThrowablesTest.java
SomeCheckedException cause = new SomeCheckedException(); SomeChainingException exception = new SomeChainingException(new SomeChainingException(cause)); assertSame(cause, getRootCause(exception)); } public void testGetRootCause_loop() { Exception cause = new Exception(); Exception exception = new Exception(cause); cause.initCause(exception); IllegalArgumentException expected =
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 14.6K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/CurlRequest.java
if (paramList == null) { paramList = new ArrayList<>(); } paramList.add(encode(key) + "=" + encode(value)); return this; } public CurlRequest header(final String key, final String value) { if (headerList == null) { headerList = new ArrayList<>(); } headerList.add(new String[] { key, value }); return this; }
Registered: Thu Oct 31 02:32:13 UTC 2024 - Last Modified: Sun Feb 12 12:21:25 UTC 2023 - 12.3K bytes - Viewed (0)