Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 385 for prevent (0.04 sec)

  1. 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();
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 07:09:00 UTC 2025
    - 6K bytes
    - Viewed (0)
  2. 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 {
    
        /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  3. 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
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  4. 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
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  5. 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. */
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  6. 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;
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/CrudMode.java

         */
        public static final int DELETE = 3;
    
        /**
         * Mode for viewing record details.
         */
        public static final int DETAILS = 4;
    
        /**
         * Protected constructor to prevent instantiation.
         */
        protected CrudMode() {
            // nothing
        }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java

                newInputs = inputs;
                newOutput = output;
            }
        }
    
        /**
         * Returns the array of new input character sequences for update operations.
         * Returns a defensive copy to prevent external modification.
         *
         * @return array of new input sequences (defensive copy), or null if no updates are pending
         */
        public String[] getNewInputs() {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 07:09:00 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTreeHandleImpl.java

                throw new RuntimeCIFSException("Usage count dropped below zero");
            }
        }
    
        @Override
        protected void finalize() throws Throwable {
            try {
                // Add null check to prevent NPE if object was not fully constructed
                if (this.usageCount != null && this.usageCount.get() != 0) {
                    log.warn("Tree handle was not properly released, performing emergency cleanup: "
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/labeltype/EditForm.java

         */
        @ValidateTypeFailure
        public Long updatedTime;
    
        /**
         * The version number of the label type for optimistic locking.
         * This field is required to prevent concurrent modification conflicts
         * by ensuring the label type hasn't been modified by another process.
         */
        @Required
        @ValidateTypeFailure
        public Integer versionNo;
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.2K bytes
    - Viewed (0)
Back to top