Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 359 for inappropriate (0.12 seconds)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ApplyTest.java

            }
        }
    
        @Nested
        @DisplayName("Execution")
        class ExecutionTests {
    
            @Test
            @DisplayName("should log appropriate header message")
            void shouldLogAppropriateHeaderMessage() throws Exception {
                UpgradeContext context = createMockContext();
    
                // Create a temporary directory with a POM file for the test
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 10:39:17 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  2. internal/bucket/lifecycle/rule_test.go

    package lifecycle
    
    import (
    	"encoding/xml"
    	"fmt"
    	"testing"
    )
    
    // TestInvalidRules checks if Rule xml with invalid elements returns
    // appropriate errors on validation
    func TestInvalidRules(t *testing.T) {
    	invalidTestCases := []struct {
    		inputXML    string
    		expectedErr error
    	}{
    		{ // Rule with ID longer than 255 characters
    			inputXML: ` <Rule>
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 4.9K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/helper/FileTypeHelper.java

    import jakarta.annotation.PostConstruct;
    
    /**
     * Helper class for managing file type mappings based on MIME types.
     * This class provides functionality to map MIME types to file types and
     * retrieve appropriate file type classifications for documents during indexing.
     *
     * The mappings are loaded from configuration and can be dynamically modified
     * at runtime. When a MIME type is not found in the mapping, a default value
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/core/convert/NumberConversionUtil.java

     *
     * @author higa
     */
    public abstract class NumberConversionUtil {
    
        /**
         * Do not instantiate.
         */
        protected NumberConversionUtil() {
        }
    
        /**
         * Converts to the appropriate {@link Number}.
         *
         * @param type
         *            Target type
         * @param o
         *            Source object
         * @return {@link Number} converted to {@literal type}
         */
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  5. cmd/local-locker.go

    		if entry.UID == args.UID && (args.Owner == "" || entry.Owner == args.Owner) {
    			if len(*lri) == 1 {
    				// Remove the write lock.
    				delete(l.lockMap, name)
    			} else {
    				// Remove the appropriate read lock.
    				*lri = append((*lri)[:index], (*lri)[index+1:]...)
    				l.lockMap[name] = *lri
    			}
    			delete(l.lockUID, formatUUID(args.UID, entry.idx))
    			return true
    		}
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 12K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/dict/DictionaryCreator.java

    import jakarta.annotation.Resource;
    
    /**
     * Abstract base class for creating dictionary files from file paths.
     * Dictionary creators are responsible for recognizing specific file patterns
     * and creating appropriate DictionaryFile instances for them.
     */
    public abstract class DictionaryCreator {
    
        /** Pattern used to match file paths that this creator can handle. */
        protected Pattern pattern;
    
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/storage/StorageClientFactory.java

    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.util.ComponentUtil;
    
    /**
     * Factory for creating appropriate StorageClient based on configuration.
     */
    public final class StorageClientFactory {
    
        private static final Logger logger = LogManager.getLogger(StorageClientFactory.class);
    
        private StorageClientFactory() {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Dec 20 05:56:45 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  8. internal/bucket/lifecycle/expiration_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package lifecycle
    
    import (
    	"encoding/xml"
    	"fmt"
    	"testing"
    )
    
    // appropriate errors on validation
    func TestInvalidExpiration(t *testing.T) {
    	testCases := []struct {
    		inputXML    string
    		expectedErr error
    	}{
    		{ // Expiration with zero days
    			inputXML: ` <Expiration>
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Feb 21 20:28:34 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  9. internal/http/dial_linux.go

    			//    https://blog.cloudflare.com/when-tcp-sockets-refuse-to-die/
    			// This is a sensitive configuration, it is better to set it to high values, > 60 secs since it can
    			// affect clients reading data with a very slow pace  (disappropriate with socket buffer sizes)
    			if opts.UserTimeout > 0 {
    				_ = syscall.SetsockoptInt(fd, syscall.IPPROTO_TCP, unix.TCP_USER_TIMEOUT, opts.UserTimeout)
    			}
    
    			if opts.Interface != "" {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Jul 23 10:53:03 GMT 2024
    - 5K bytes
    - Click Count (0)
  10. .github/ISSUE_TEMPLATE/feature_enhancement_request.yaml

            real-world use case so the community can discuss and debate whether this feature is actually
            the *best* way to address the real use case, or whether or not a different approach might be
            more appropriate.
    
    
            It's okay if you can't provide complete context on a use case. We understand if you are not
            able to discuss the full details of what you're working on.
    
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 3.9K bytes
    - Click Count (0)
Back to Top