Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for replace_aliases (0.19 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/maintenance/ActionForm.java

    package org.codelibs.fess.app.web.admin.maintenance;
    
    import javax.validation.constraints.Size;
    
    import org.codelibs.fess.util.ComponentUtil;
    
    public class ActionForm {
        @Size(max = 10)
        public String replaceAliases;
    
        @Size(max = 10)
        public String resetDictionaries;
    
        @Size(max = 10)
        public String numberOfShardsForDoc = ComponentUtil.getFessConfig().getIndexNumberOfShards();
    
        @Size(max = 10)
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/cli-runtime/pkg/resource/builder.go

    	default:
    		b.errs = append(b.errs, fmt.Errorf("arguments must consist of a resource or a resource and name"))
    	}
    	return b
    }
    
    // ReplaceAliases accepts an argument and tries to expand any existing
    // aliases found in it
    func (b *Builder) ReplaceAliases(input string) string {
    	replaced := []string{}
    	for _, arg := range strings.Split(input, ",") {
    		if b.categoryExpanderFn == nil {
    			continue
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 10:17:56 UTC 2023
    - 37.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/cli-runtime/pkg/resource/builder_test.go

    		},
    	}
    
    	b := newDefaultBuilder()
    
    	for _, test := range tests {
    		replaced := b.ReplaceAliases(test.arg)
    		if replaced != test.expected {
    			t.Errorf("%s: unexpected argument: expected %s, got %s", test.name, test.expected, replaced)
    		}
    	}
    }
    
    func TestResourceByName(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 11:58:41 UTC 2023
    - 56.1K bytes
    - Viewed (0)
Back to top