- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 1,868 for constructors (0.21 seconds)
-
src/test/java/org/codelibs/fess/exception/ContainerNotAvailableExceptionTest.java
public void test_constructor_withCause() { // Test constructor with cause only Throwable cause = new IllegalStateException("Container initialization failed"); ContainerNotAvailableException exception = new ContainerNotAvailableException(cause); assertEquals("Container is not available.", exception.getMessage()); // The cause is not passed to super constructor in the implementation assertNull(exception.getCause());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 10.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java
// Verify that SearchEngineUtil is a utility class with private constructor try { SearchEngineUtil.class.getDeclaredConstructor().newInstance(); fail("Should not be able to instantiate utility class"); } catch (Exception e) { // Expected - utility classes should have private constructorsCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 13.8K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbTransport.java
} void ssn139() throws IOException { final Name calledName = new Name(address.firstCalledName(), 0x20, null); do { /* These Socket constructors attempt to connect before SO_TIMEOUT can be applied if (localAddr == null) { socket = new Socket( address.getHostAddress(), 139 ); } else {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 31.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/annotation/SecuredTest.java
assertNotNull(secured); assertEquals("STATIC_ROLE", secured.value()[0]); } // Test annotation on constructor (should not compile, but test for completeness) static class ConstructorClass { // Note: @Secured cannot be applied to constructors due to @Target restrictions public ConstructorClass() { } } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 15.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/SearchQueryExceptionTest.java
// Test constructor with null message SearchQueryException exception = new SearchQueryException((String) null); assertNull(exception.getMessage()); assertNull(exception.getCause()); assertTrue(exception instanceof FessSystemException); } @Test public void test_constructorWithNullCause() { // Test constructor with null causeCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 10K bytes - Click Count (0) -
src/main/java/jcifs/smb1/util/MD4.java
private final int[] X = new int[16]; // Constructors //........................................................................... /** * Creates a new MD4 message digest instance. * Initializes the digest with the MD4 algorithm parameters. */ public MD4() { super("MD4"); engineReset(); } /** * This constructor is here to implement cloneability of this class.
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 9.6K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java
private final Collection<TypeConverterBinding> typeConverterBindings; // ---------------------------------------------------------------------- // Constructors // ---------------------------------------------------------------------- @Inject PlexusXmlBeanConverter(final Injector injector) { typeConverterBindings = injector.getTypeConverterBindings();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 15.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/ByteSourceTest.java
* * @author Colin Decker */ @NullUnmarked public class ByteSourceTest extends IoTestCase { @AndroidIncompatible // Android doesn't understand suites whose tests lack default constructors. public static TestSuite suite() { TestSuite suite = new TestSuite(); for (boolean asCharSource : new boolean[] {false, true}) { suite.addTest( ByteSourceTester.tests(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 15.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/CharSourceTest.java
* * @author Colin Decker */ @NullUnmarked public class CharSourceTest extends IoTestCase { @AndroidIncompatible // Android doesn't understand suites whose tests lack default constructors. public static TestSuite suite() { TestSuite suite = new TestSuite(); for (boolean asByteSource : new boolean[] {false, true}) { suite.addTest( CharSourceTester.tests(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 11.6K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/Invokable.java
return method.isVarArgs(); } } static class ConstructorInvokable<T> extends Invokable<T, T> { final Constructor<?> constructor; ConstructorInvokable(Constructor<?> constructor) { super(constructor); this.constructor = constructor; } @Override final Object invokeInternal(@Nullable Object receiver, @Nullable Object[] args)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 18.5K bytes - Click Count (0)