- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 147 for Arguments (4.3 sec)
-
src/main/java/org/codelibs/core/lang/FieldUtil.java
assertArgumentNotNull("field", field); set(field, null, value); } /** * Sets the value of the given {@link Field} representing the specified object argument's field to the specified new value. * * @param field the field (must not be {@literal null}) * @param target the object whose field is to be modified; {@literal null} if the field is static
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java
} /** * Test getRootCause() method (deprecated). */ @Test void testGetRootCause() { Throwable cause = new IllegalArgumentException("Invalid argument."); DcerpcException exception = new DcerpcException("Error with cause.", cause); assertEquals(cause, exception.getRootCause(), "getRootCause() should return the original cause."); } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java
exception.expectMessage(is("[ECL0008]argument[src] is null.")); BeanUtil.copyMapToBean(null, new Object()); } /** * */ @Test public void testCopyBeanToMap_DestNull() { exception.expect(NullArgumentException.class); exception.expectMessage(is("[ECL0008]argument[dest] is null.")); BeanUtil.copyBeanToMap(new Object(), null); }
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 34.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/RequestParamTest.java
RequestParam rp = RequestParam.NO_RETRY; // Act: pass to the collaborator consumer.accept(rp); // Assert: interaction happened exactly once with correct argument; no other calls verify(consumer, times(1)).accept(RequestParam.NO_RETRY); verifyNoMoreInteractions(consumer); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/Config.java
return prp.getProperty(key); } /** * Retrieve an <code>int</code>. If the key does not exist or * cannot be converted to an <code>int</code>, the provided default * argument will be returned. * * @param key the property key to look up * @param def the default value to return if the property is not found or cannot be parsed
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.5K bytes - Viewed (0) -
src/main/java/jcifs/SmbResource.java
* @throws NullPointerException * If the <code>dest</code> argument is <code>null</code> */ void renameTo(SmbResource dest) throws CIFSException; /** * Changes the name of the file this <code>SmbResource</code> represents to the name * designated by the <code>SmbResource</code> argument. * <br> * <i>Remember: <code>SmbResource</code>s are immutable and thereforeRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 28K bytes - Viewed (1) -
src/main/java/jcifs/smb/SmbFileOutputStream.java
* on an SMB server addressed by the <code>SmbFile</code> parameter. See * {@link jcifs.smb.SmbFile} for a detailed description and examples of * the smb URL syntax. If the second argument is <code>true</code>, then * bytes will be written to the end of the file rather than the beginning. * * @param file * An <code>SmbFile</code> representing the file to write to
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceTest.java
@DisplayName("renameTo should throw NullPointerException for null destination") void testRenameTo_NullDestination() throws CIFSException { // Given doThrow(new NullPointerException("dest argument is null")).when(mockResource).renameTo(null); // When/Then assertThrows(NullPointerException.class, () -> mockResource.renameTo(null),Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 35K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlRequestTest.java
assertNull(request.proxy()); assertNull(request.body()); } @Test public void testConstructorWithNullUrl() { // URL can be null with the two-argument constructor CurlRequest request = new CurlRequest(Method.DELETE, null); assertEquals(Method.DELETE, request.method()); assertEquals("UTF-8", request.encoding());
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Mon Nov 24 03:10:07 UTC 2025 - 20.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
* (presumably known to be a master * browser) for the server list in workgroup <code>MYGROUP</code>. * </td></tr> * * </table> * * <p>A second constructor argument may be specified to augment the URL * for better programmatic control when processing many files under * a common base. This is slightly different from the corresponding
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 112.2K bytes - Viewed (0)