- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 487 for constructors (0.15 seconds)
-
src/test/java/org/codelibs/fess/util/SystemUtilTest.java
// 1. Class should be final (or have private constructor) Constructor<?>[] constructors = SystemUtil.class.getDeclaredConstructors(); assertEquals("Should have exactly one constructor", 1, constructors.length); assertTrue("Constructor should be private", java.lang.reflect.Modifier.isPrivate(constructors[0].getModifiers())); // 2. All methods should be staticCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 17.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java
// 1. Class should have protected constructor Constructor<?>[] constructors = ThreadDumpUtil.class.getDeclaredConstructors(); assertEquals("Should have exactly one constructor", 1, constructors.length); assertTrue("Constructor should be protected", java.lang.reflect.Modifier.isProtected(constructors[0].getModifiers())); // 2. All public methods should be staticCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 15.6K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/BinaryBreakingChangesRule.java
return null; } if (member instanceof JApiConstructor) { if (isInject((JApiConstructor) member)) { // We do not consider injecting constructors public API return null; } } for (JApiCompatibilityChange change : member.getCompatibilityChanges()) {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 24 14:15:15 GMT 2025 - 3.8K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/AbstractConflictResolverTest.java
private final String roleHint; @Inject private ArtifactFactory artifactFactory; private ConflictResolver conflictResolver; @Inject protected PlexusContainer container; // constructors ----------------------------------------------------------- public AbstractConflictResolverTest(String roleHint) throws Exception { this.roleHint = roleHint; } @BeforeEachCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Mar 09 14:29:03 GMT 2026 - 4.2K bytes - Click Count (0) -
src/main/java/org/codelibs/curl/io/ContentOutputStream.java
* <li>{@code SUFFIX} - Suffix for the temporary file name.</li> * <li>{@code done} - Flag indicating whether the file has been retrieved.</li> * </ul> * * <p>Constructors:</p> * <ul> * <li>{@code ContentOutputStream(int threshold, File tmpDir)} - Constructs a ContentOutputStream with a specified threshold and temporary directory.</li> * </ul> * * <p>Methods:</p> * <ul>
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Thu Nov 20 13:34:13 GMT 2025 - 3.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/WebApiUtilTest.java
// 2. Should have exactly one private constructor Constructor<?>[] constructors = WebApiUtil.class.getDeclaredConstructors(); assertEquals("Should have exactly one constructor", 1, constructors.length); assertTrue("Constructor should be private", java.lang.reflect.Modifier.isPrivate(constructors[0].getModifiers())); // 3. All public methods should be staticCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 17.4K bytes - Click Count (0) -
CLAUDE.md
- Some integration tests require network access ## Important Notes for AI Assistants 1. **Resource Management**: Always use try-with-resources with `CurlResponse`. 2. **Null Safety**: Constructors validate null arguments. Follow this pattern. 3. **Thread Safety**: `RequestProcessor` is single-use per request. 4. **Encoding**: Call `encoding()` before `param()` methods.
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Thu Jan 08 07:28:24 GMT 2026 - 4.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java
// 2. Should have exactly one private constructor Constructor<?>[] constructors = KuromojiCSVUtil.class.getDeclaredConstructors(); assertEquals("Should have exactly one constructor", 1, constructors.length); assertTrue("Constructor should be private", java.lang.reflect.Modifier.isPrivate(constructors[0].getModifiers())); // 3. All public methods should be staticCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 18.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
factories.add(factory); } } if (!Modifier.isAbstract(type.getRawType().getModifiers())) { for (Constructor<?> constructor : type.getRawType().getDeclaredConstructors()) { Invokable<T, T> invokable = type.constructor(constructor); if (!invokable.isPrivate() && !invokable.isSynthetic()) { factories.add(invokable); } } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 32.5K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
* * <p>Instances of {@code exceptionClass} are created by choosing an arbitrary public constructor * that accepts zero or more arguments, all of type {@code String} or {@code Throwable} * (preferring constructors with at least one {@code String}, then preferring constructors with at * least one {@code Throwable}) and calling the constructor via reflection. If the exception didCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 64.2K bytes - Click Count (0)