Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 539 for prevent (0.03 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. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/idn/Punycode.kt

          val increment = (m - n) * (h + 1)
          if (delta > Int.MAX_VALUE - increment) return false // Prevent overflow.
          delta += increment
    
          n = m
    
          for (c in input) {
            if (c < n) {
              if (delta == Int.MAX_VALUE) return false // Prevent overflow.
              delta++
            } else if (c == n) {
              var q = delta
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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.
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top