- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 639 for prevent (0.04 seconds)
-
src/main/java/org/codelibs/fess/dict/synonym/SynonymItem.java
if (id == 0) { // create newInputs = inputs; newOutputs = outputs; } } /** * Gets the new input words. * Returns a defensive copy to prevent external modification. * * @return The new input words (defensive copy). */ public String[] getNewInputs() { return newInputs == null ? null : newInputs.clone(); } /**Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Nov 20 07:09:00 GMT 2025 - 6K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/FileUtil.java
/** * Utility class for handling {@link File}. * <p> * <strong>SECURITY NOTE:</strong> When accepting file paths from untrusted sources, * always validate them using {@link #isPathSafe(Path, Path)} to prevent path traversal attacks. * Methods that accept path strings do not perform automatic validation to maintain backward compatibility. * </p> * * @author higa */ public abstract class FileUtil { /**Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 13.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseState.java
* directory metadata and reduce network round-trips for directory operations. */ public class DirectoryLeaseState { /** * Private constructor to prevent instantiation of this utility class */ private DirectoryLeaseState() { // Utility class - prevent instantiation } /** * Directory Read and Handle caching (RH) - recommended for directory operations */Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 2.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java
* selecting the {@code VarHandleAtomicHelper} strategy. */ private static final ClassLoader NO_VAR_HANDLE = getClassLoader(ImmutableSet.of("java.lang.invoke.VarHandle")); /** * This classloader disallows {@link java.lang.invoke.VarHandle} and {@link sun.misc.Unsafe}, * which will prevent us from selecting the {@code UnsafeAtomicHelper} strategy. */Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 7.3K bytes - Click Count (0) -
src/main/java/jcifs/util/InputValidator.java
*/ package jcifs.util; import java.util.regex.Pattern; /** * Comprehensive input validation utility for SMB protocol implementation. * Provides validation methods to prevent buffer overflows, injection attacks, * and other security vulnerabilities. */ public final class InputValidator { private InputValidator() { // Utility class }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 13.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/constants/SuggestConstants.java
/** * This class contains constants used in the Fess Suggest module. * It is a utility class and should not be instantiated. */ public final class SuggestConstants { // Private constructor to prevent instantiation private SuggestConstants() { } /** An empty string constant. */ public static final String EMPTY_STRING = ""; /** The system property name for user dictionary encoding. */Created: Sat Dec 20 13:04:59 GMT 2025 - Last Modified: Fri Jul 04 14:00:23 GMT 2025 - 1.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/BufferCache.java
* - Uses ConcurrentLinkedQueue for O(1) operations * - Lock-free operations for better concurrency * - Proper buffer validation and limits */ public class BufferCache { /** * Private constructor to prevent instantiation of this utility class. */ private BufferCache() { // Utility class - not instantiable } private static final int MAX_BUFFERS = Config.getInt("jcifs.smb1.smb.maxBuffers", 16);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 4.2K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbFileDirectoryLeasingExtension.java
* SMB3 directory leasing is available and enabled. */ public class SmbFileDirectoryLeasingExtension { /** * Private constructor to prevent instantiation of this utility class */ private SmbFileDirectoryLeasingExtension() { // Utility class - prevent instantiation } private static final Logger log = LoggerFactory.getLogger(SmbFileDirectoryLeasingExtension.class); /**Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 7.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/scheduler/EditForm.java
*/ @Required @Size(max = 1000) public String id; /** * The version number of the scheduler for optimistic locking. * This field is required to prevent concurrent modification conflicts * by ensuring the scheduler hasn't been modified by another process. */ @Required @ValidateTypeFailure public Integer versionNo;Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.8K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/CharUtil.java
*/ package org.codelibs.fess.crawler.util; /** * Utility class for character-related operations. */ public final class CharUtil { /** * Private constructor to prevent instantiation of this utility class. */ private CharUtil() { } /** * Checks if the given character is a valid URL character. * * Valid URL characters include:Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sat Nov 22 13:28:22 GMT 2025 - 1.8K bytes - Click Count (1)