- Sort Score
- Result 10 results
- Languages All
Results 561 - 570 of 3,758 for null (0.03 sec)
-
src/test/java/jcifs/util/transport/TransportExceptionTest.java
// Test with null message and valid cause TransportException nullMessageException = new TransportException(null, rootCause); assertNull(nullMessageException.getMessage()); assertEquals(rootCause, nullMessageException.getCause()); // Test with valid message and null cause TransportException nullCauseException = new TransportException(message, null);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/IntegerConversionUtil.java
*/ public static Integer toInteger(final Object o, final String pattern) { return switch (o) { case null -> null; case Integer i -> i; case Number n -> n.intValue(); case String s -> toInteger(s); case java.util.Date d -> pattern != null ? Integer.valueOf(new SimpleDateFormat(pattern).format(d)) : (int) d.getTime(); case Boolean b -> b ? 1 : 0;
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/searchlist/ApiAdminSearchlistAction.java
final Number primaryTerm = (Number) entity.remove(fessConfig.getIndexFieldPrimaryTerm()); if (seqNo != null && primaryTerm != null && oldId != null) { searchEngineClient.delete(index, oldId, seqNo, primaryTerm); } } searchEngineClient.store(index, entity);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 12.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java
assertThrows(NullPointerException.class, () -> { new SmbComRename(null, oldFileName, newFileName); }); } /** * Test with null file names */ @Test @DisplayName("Test constructor with null file names") public void testConstructorWithNullFileNames() { // When & Then - should not throw exception during construction
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/LabelTypeHelperTest.java
} public void test_matchLocale_edgeCases() { // Test with null request locale assertTrue(labelTypeHelper.matchLocale(null, Locale.ROOT)); assertFalse(labelTypeHelper.matchLocale(null, Locale.ENGLISH)); // Test with different countries assertFalse(labelTypeHelper.matchLocale(Locale.US, Locale.UK));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 12.4K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt
private val logFile: File, private val tlsVersions: List<TlsVersion>, private val launch: Launch? = null, ) : EventListener.Factory { override fun create(call: Call): EventListener = WireSharkKeyLoggerListener(logFile, launch == null) fun launchWireShark(): Process? { when (launch) { null -> { if (tlsVersions.contains(TLS_1_2)) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat May 10 11:15:14 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java
@Test @DisplayName("Constructor with open() returning null closes immediately and hasNext=false") void constructorOpenNullCloses() throws Exception { // Arrange stubAcquireReturnsSelf(); List<FileEntry[]> pages = List.of(new FileEntry[][] { new FileEntry[] {} }); // Create iterator where open() returns null by giving null initial
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.5K bytes - Viewed (0) -
src/main/java/jcifs/util/InputValidator.java
*/ public static void validateArrayBounds(byte[] src, int srcOffset, byte[] dst, int dstOffset, int length) { if (src == null || dst == null) { throw new IllegalArgumentException("Arrays cannot be null"); } if (srcOffset < 0 || dstOffset < 0 || length < 0) { throw new IllegalArgumentException("Offsets and length must be non-negative"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractConditionAggregation.java
protected void assertObjectNotNull(String variableName, Object value) { if (variableName == null) { String msg = "The value should not be null: variableName=null value=" + value; throw new IllegalArgumentException(msg); } if (value == null) { String msg = "The value should not be null: variableName=" + variableName; throw new IllegalArgumentException(msg); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 12.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/ntlmssp/Type1Message.java
final String suppliedWorkstation = getSuppliedWorkstation(); return "Type1Message[suppliedDomain=" + (suppliedDomain == null ? "null" : suppliedDomain) + ",suppliedWorkstation=" + (suppliedWorkstation == null ? "null" : suppliedWorkstation) + ",flags=0x" + jcifs.smb1.util.Hexdump.toHexString(getFlags(), 8) + "]"; } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7.9K bytes - Viewed (0)