Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 466 for prevented (0.32 seconds)

  1. src/main/java/org/codelibs/core/io/SerializeUtil.java

         */
        protected SerializeUtil() {
        }
    
        private static final int BYTE_ARRAY_SIZE = 8 * 1024;
    
        /**
         * Default set of allowed class name patterns for deserialization.
         * This helps prevent deserialization attacks by restricting which classes can be instantiated.
         */
        private static final Set<String> DEFAULT_ALLOWED_PATTERNS =
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

            } else {
                throwValidationError(messages -> messages.addErrorsDesignFileIsUnsupportedType("designFileName"), this::asListHtml);
                return null;
            }
    
            // Validate path to prevent path traversal attacks
            if (expectedBaseDir != null && !isValidUploadPath(uploadFile, expectedBaseDir)) {
                logger.warn("Path traversal attempt detected: fileName={}", fileName);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 23 23:57:26 GMT 2026
    - 20.1K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/primitives/Booleans.java

        @Override
        public boolean contains(@Nullable Object target) {
          // Overridden to prevent a ton of boxing
          return (target instanceof Boolean)
              && Booleans.indexOf(array, (Boolean) target, start, end) != -1;
        }
    
        @Override
        public int indexOf(@Nullable Object target) {
          // Overridden to prevent a ton of boxing
          if (target instanceof Boolean) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Sep 25 15:01:23 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/util/ErrorToWarnRewritePolicy.java

    /**
     * Log4j rewrite policy that converts ERROR level log events to WARN level for specified loggers.
     * This policy is useful for downgrading the severity of log events from certain loggers
     * to prevent them from being treated as critical errors.
     */
    @Plugin(name = "ErrorToWarnRewritePolicy", category = Core.CATEGORY_NAME, elementType = "rewritePolicy", printObject = true)
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/MavenBuilderException.java

        }
    
        /**
         * Formats message out of problems: problems are sorted (in natural order of {@link BuilderProblem.Severity})
         * and then a list is built. These exceptions are usually thrown in "fatal" cases (and usually prevent Maven
         * from starting), and these exceptions may end up very early on output.
         *
         * @param message the base message to enhance
         * @param problems the collection of problems to include in the message
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  6. gradlew

            #
            # NB: a `for` loop captures its iteration list before it begins, so
            # changing the positional parameters here affects neither the number of
            # iterations, nor the values presented in `arg`.
            shift                   # remove old arg
            set -- "$@" "$arg"      # push replacement arg
        done
    fi
    
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Mar 20 08:59:10 GMT 2026
    - 8.5K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/util/SearchEngineUtil.java

     */
    public final class SearchEngineUtil {
    
        private static final Logger logger = LogManager.getLogger(SearchEngineUtil.class);
    
        /**
         * Private constructor to prevent instantiation of this utility class.
         */
        private SearchEngineUtil() {
        }
    
        /**
         * Creates an OutputStream from an XContentBuilder using the provided callback function.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  8. guava-tests/benchmark/com/google/common/hash/HashCodeBenchmark.java

     * whereToDiffer} produces no observable change in performance. We want to make sure that the array
     * equals implementation is *not* short-circuiting to prevent timing-based attacks. Being fast is
     * only a secondary goal.
     *
     * @author Kurt Alfred Kluever
     */
    @NullUnmarked
    public class HashCodeBenchmark {
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 4K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/job/PurgeThumbnailJob.java

    import org.codelibs.fess.util.ComponentUtil;
    
    /**
     * Job for purging expired thumbnail files from the system.
     * This job removes thumbnail files that have exceeded their configured expiration time
     * to prevent disk space from being consumed by old thumbnails.
     */
    public class PurgeThumbnailJob {
        /** Logger instance for this class */
        private static final Logger logger = LogManager.getLogger(PurgeThumbnailJob.class);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/PeekingIterator.java

      /**
       * Returns the next element in the iteration, without advancing the iteration.
       *
       * <p>Calls to {@code peek()} should not change the state of the iteration, except that it
       * <i>may</i> prevent removal of the most recent element via {@link #remove()}.
       *
       * @throws NoSuchElementException if the iteration has no more elements according to {@link
       *     #hasNext()}
       */
      @ParametricNullness
      E peek();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
Back to Top