- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 5,459 for new (0.01 sec)
-
compat/maven-model/src/test/java/org/apache/maven/model/OrganizationTest.java
class OrganizationTest { @Test void testHashCodeNullSafe() { new Organization().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new Organization().equals(null)); new Organization().equals(new Organization()); } @Test void testEqualsIdentity() { Organization thing = new Organization();Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 2.7K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/DependencyManagementTest.java
@Test void testHashCodeNullSafe() { new DependencyManagement().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new DependencyManagement().equals(null)); new DependencyManagement().equals(new DependencyManagement()); } @Test void testEqualsIdentity() { DependencyManagement thing = new DependencyManagement();Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 2.4K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/XslTransformer.java
if (args.length < 3 || args.length > 4) { throw new IllegalArgumentException("USAGE: <style-sheet> <source-file> <dest-file> [dest-dir]"); } File stylesheet = new File(args[0]); File source = new File(args[1]); File dest = new File(args[2]); String destDir = ""; if (args.length > 3) { destDir = args[3]; }
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Thu Oct 05 19:36:14 UTC 2023 - 2.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java
final BufferedInputStream bis = new BufferedInputStream(in); bis.mark(preloadSize); String preloadDate = StringUtil.EMPTY; final byte[] bytes = new byte[preloadSize]; try { if (bis.read(bytes) == -1) { throw new CrawlingAccessException("No sitemaps data."); } preloadDate = new String(bytes, Constants.UTF_8);
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Fri Nov 14 13:19:40 UTC 2025 - 34.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/internal/compat/interactivity/LegacyPlexusInteractivity.java
throw new IOException("Unable to prompt", e); } } @Override public String readPassword() throws IOException { try { return prompter.promptForPassword(null); } catch (org.apache.maven.api.services.PrompterException e) { throw new IOException("Unable to prompt", e); } } @Override
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Apr 03 13:48:41 UTC 2025 - 5.2K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/project/PluginConnectionSimpleTest.java
// This test demonstrates the difference between the old broken behavior and the new fixed behavior Model model = new Model(); model.setGroupId("test.group"); model.setArtifactId("test-artifact"); model.setVersion("1.0.0"); Build build = new Build(); model.setBuild(build); Plugin originalPlugin = new Plugin(); originalPlugin.setGroupId("org.apache.maven.plugins");Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jul 04 12:50:13 UTC 2025 - 5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
@DisplayName("Should return negotiate contexts") void testGetNegotiateContexts() throws Exception { // Given NegotiateContextResponse[] contexts = new NegotiateContextResponse[2]; contexts[0] = new EncryptionNegotiateContext(); contexts[1] = new PreauthIntegrityNegotiateContext(); setPrivateField(response, "negotiateContexts", contexts); // WhenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 32.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java
private final ExecutionList list = new ExecutionList(); public void testRunOnPopulatedList() throws Exception { Executor exec = newCachedThreadPool(); CountDownLatch countDownLatch = new CountDownLatch(3); list.add(new MockRunnable(countDownLatch), exec); list.add(new MockRunnable(countDownLatch), exec); list.add(new MockRunnable(countDownLatch), exec);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 4.7K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/ConsoleMavenTransferListenerTest.java
try { startLatch = new CountDownLatch(size); endLatch = new CountDownLatch(size); Map<String, String> output = new ConcurrentHashMap<String, String>(); try (SimplexTransferListener listener = new SimplexTransferListener(new ConsoleMavenTransferListener( new JLineMessageBuilderFactory(), new PrintWriter(System.out) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
// Given SecureKeyManager keyManager = new SecureKeyManager(); byte[] encKey = new byte[16]; byte[] decKey = new byte[16]; new SecureRandom().nextBytes(encKey); new SecureRandom().nextBytes(decKey); Smb2EncryptionContext context =Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0)