- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 793 for contracts (0.07 seconds)
-
src/main/java/org/codelibs/core/misc/ValueHolder.java
* @param <T> * The type of the value */ public class ValueHolder<T> { /** The value */ protected T value; /** * Constructs an instance. */ public ValueHolder() { } /** * Constructs an instance. * * @param value * The value */ public ValueHolder(final T value) { this.value = value; }
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 1.5K bytes - Click Count (0) -
architecture/standards/0008-use-nullaway.md
* When annotating existing internal code, use `org.jetbrains.annotations.Contract`, e.g. `@Contract(null -> null; !null -> !null)`. When doing so, still annotate nullable parameters and the return type as `@Nullable`. * Do not use `@Contract` for public APIs. * For polynull public APIs, the solution has to be decided on a case-by-case basis.Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Mar 05 12:39:41 GMT 2026 - 4K bytes - Click Count (0) -
src/test/java/jcifs/SmbPipeHandleTest.java
import jcifs.smb.SmbPipeHandleInternal; /** * Unit tests for a class that implements the {@link SmbPipeHandle} interface. * This test class uses a mock implementation to ensure any class adhering to the * SmbPipeHandle contract is tested for correctness. */ public class SmbPipeHandleTest { private SmbPipeHandle smbPipeHandle; private SmbPipeResource mockPipeResource; private SmbPipeHandleInternal mockSmbPipeHandleInternal;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/exception/JobProcessingException.java
private static final long serialVersionUID = 1L; /** * Constructs a new JobProcessingException with the specified cause. * * @param e the cause of the exception */ public JobProcessingException(final Throwable e) { super(e); } /** * Constructs a new JobProcessingException with the specified detail message and cause. *Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.7K bytes - Click Count (0) -
src/main/java/jcifs/RuntimeCIFSException.java
/** * */ private static final long serialVersionUID = -2611196678846438579L; /** * Constructs a runtime CIFS exception with no detail message. */ public RuntimeCIFSException() { } /** * Constructs a runtime CIFS exception with the specified detail message and cause. * * @param message the detail messageCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2K bytes - Click Count (0) -
src/main/java/jcifs/CIFSUnsupportedCryptoException.java
/** * */ private static final long serialVersionUID = -6350312430383107348L; /** * Constructs a CIFS unsupported crypto exception with no detail message. */ public CIFSUnsupportedCryptoException() { } /** * Constructs a CIFS unsupported crypto exception with the specified detail message and cause. * * @param message the detail messageCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2K bytes - Click Count (0) -
src/main/java/jcifs/util/transport/TransportException.java
/** * Constructs a new TransportException with no detail message. */ public TransportException() { } /** * Constructs a new TransportException with the specified detail message. * @param msg the detail message */ public TransportException(final String msg) { super(msg); } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.1K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/FileEntryTest.java
package jcifs.smb1.smb1; /** * Unit tests for {@link FileEntry}. The interface itself has no * implementation, so the tests exercise the contract via Mockito mocks. * Each method is exercised for normal inputs, extreme or edge cases, and * interaction verification. */ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; import static org.mockito.Mockito.mock;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/exception/FessSystemException.java
/** * Constructs a new FessSystemException with the specified detail message and cause. * * @param message the detail message describing the exception * @param cause the cause of this exception */ public FessSystemException(final String message, final Throwable cause) { super(message, cause); } /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 2.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/annotation/Secured.java
* <p> * For example: * * <pre> * @Secured({ "ROLE_USER" }) * public void create(Contact contact); * * @Secured({ "ROLE_USER", "ROLE_ADMIN" }) * public void update(Contact contact); * * @Secured({ "ROLE_ADMIN" }) * public void delete(Contact contact); * </pre> */ @Target({ ElementType.METHOD, ElementType.TYPE }) @Retention(RetentionPolicy.RUNTIME)
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.7K bytes - Click Count (0)