- Sort Score
- Num 10 results
- Language All
Results 1011 - 1020 of 5,717 for new1 (0.07 seconds)
-
compat/maven-model/src/test/java/org/apache/maven/model/NotifierTest.java
*/ class NotifierTest { @Test void testHashCodeNullSafe() { new Notifier().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new Notifier().equals(null)); new Notifier().equals(new Notifier()); } @Test void testEqualsIdentity() { Notifier thing = new Notifier();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 1.6K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/PluginExecutionTest.java
@Test void testHashCodeNullSafe() { new PluginExecution().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new PluginExecution().equals(null)); new PluginExecution().equals(new PluginExecution()); } @Test void testEqualsIdentity() { PluginExecution thing = new PluginExecution();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 1.7K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/PluginManagementTest.java
@Test void testHashCodeNullSafe() { new PluginManagement().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new PluginManagement().equals(null)); new PluginManagement().equals(new PluginManagement()); } @Test void testEqualsIdentity() { PluginManagement thing = new PluginManagement();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 1.7K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/ReportSetTest.java
class ReportSetTest { @Test void testHashCodeNullSafe() { new ReportSet().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new ReportSet().equals(null)); new ReportSet().equals(new ReportSet()); } @Test void testEqualsIdentity() { ReportSet thing = new ReportSet();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 1.6K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/RepositoryTest.java
class RepositoryTest { @Test void testHashCodeNullSafe() { new Repository().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new Repository().equals(null)); new Repository().equals(new Repository()); } @Test void testEqualsIdentity() { Repository thing = new Repository();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 1.6K bytes - Click Count (0) -
src/test/java/org/codelibs/core/collection/ArrayMapTest.java
* @throws Exception */ @Test public void testRemove3() throws Exception { Map<MyKey, String> m = new ArrayMap<MyKey, String>(); m.put(new MyKey("1"), "d"); m.put(new MyKey("2"), "d"); m.remove(new MyKey("1")); assertThat(m.containsKey(new MyKey("1")), is(not(true))); } /** * @throws Exception */ @TestCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 10.7K bytes - Click Count (0) -
src/test/java/org/codelibs/core/io/FileUtilTest.java
* @throws Exception */ @Test public void testIsPathSafe_WithFiles() throws Exception { final File baseDir = tempFolder.getRoot(); final File safeFile = new File(baseDir, "subdir/file.txt"); final File unsafeFile = new File(baseDir, "../../../etc/passwd"); assertTrue("Safe file should be allowed", FileUtil.isPathSafe(safeFile, baseDir));Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 10.3K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.java
throw new NdrException(NdrException.INVALID_CONFORMANCE); } sids = new LsarSidPtr[_sidss]; } _src = _src.derive(_sidsi); for (int _i = 0; _i < _sidss; _i++) { if (sids[_i] == null) { sids[_i] = new LsarSidPtr(); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 42.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbEnumerationUtilTest.java
// Host is empty -> triggers master browser path URL anyUrlWithEmptyHost = new URL("file:/"); when(locator.getURL()).thenReturn(anyUrlWithEmptyHost); // Simulate failure to find master browser (UnknownHost wrapped in CIFSException) when(locator.getAddress()).thenThrow(new CIFSException("no master", new UnknownHostException("MB")));Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.1K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeResult.java
Set<Path> mergedProcessed = new HashSet<>(this.processedPoms); mergedProcessed.addAll(other.processedPoms); Set<Path> mergedModified = new HashSet<>(this.modifiedPoms); mergedModified.addAll(other.modifiedPoms); Set<Path> mergedErrors = new HashSet<>(this.errorPoms); mergedErrors.addAll(other.errorPoms); return new UpgradeResult(mergedProcessed, mergedModified, mergedErrors); }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Jun 07 06:22:47 GMT 2025 - 3.9K bytes - Click Count (0)