Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for getPrefix (0.11 sec)

  1. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadata.java

                LinkedHashMap<String, Plugin> mergedPlugins = new LinkedHashMap<>();
                recessivePlugins.forEach(p -> mergedPlugins.put(p.getPrefix(), p));
                plugins.forEach(p -> mergedPlugins.put(p.getPrefix(), p));
                metadata.setPlugins(new ArrayList<>(mergedPlugins.values()));
            }
    
            // just carry-on as-is
            if (recessive.getVersioning() != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/query/PrefixQueryCommand.java

            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final String field = getSearchField(context.getDefaultField(), prefixQuery.getField());
            final String text = prefixQuery.getPrefix().text();
    
            if (Constants.DEFAULT_FIELD.equals(field)) {
                context.addFieldLog(field, text + "*");
                context.addHighlightedQuery(text);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. compat/maven-model/src/test/java/org/apache/maven/model/v4/ModelXmlTest.java

            assertEquals("m", node.getPrefix());
            assertEquals("configuration", node.getName());
            assertEquals(1, node.getChildren().size());
            XmlNode myConfig = node.getChildren().get(0);
            assertEquals("http://fabric8.io/fabric8-maven-plugin", myConfig.getNamespaceUri());
            assertEquals("", myConfig.getPrefix());
            assertEquals("myConfig", myConfig.getName());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. api/maven-api-metadata/src/main/mdo/metadata.mdo

            {
                boolean found = false;
    
                for ( Plugin preExisting : getPlugins() )
                {
                    if ( java.util.Objects.equals( preExisting.getPrefix(), plugin.getPrefix() ) )
                    {
                        found = true;
                        break;
                    }
                }
    
                if ( !found )
                {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed May 15 17:32:27 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  5. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java

         */
        String DEFAULT_SELF_COMBINATION_MODE = SELF_COMBINATION_MERGE;
    
        @Nonnull
        String getName();
    
        @Nonnull
        String getNamespaceUri();
    
        @Nonnull
        String getPrefix();
    
        @Nullable
        String getValue();
    
        @Nonnull
        Map<String, String> getAttributes();
    
        @Nullable
        String getAttribute(@Nonnull String name);
    
        @Nonnull
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Nov 27 23:11:34 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  6. internal/bucket/lifecycle/rule.go

    func (r Rule) validateNoncurrentTransition() error {
    	return r.NoncurrentVersionTransition.Validate()
    }
    
    // GetPrefix - a rule can either have prefix under <rule></rule>, <filter></filter>
    // or under <filter><and></and></filter>. This method returns the prefix from the
    // location where it is available.
    func (r Rule) GetPrefix() string {
    	if p := r.Prefix.String(); p != "" {
    		return p
    	}
    	if p := r.Filter.Prefix.String(); p != "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 01:11:10 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/GroupRepositoryMetadata.java

                Plugin plugin = i.next();
                if (plugin.getPrefix().equals(goalPrefix)) {
                    found = true;
                }
            }
            if (!found) {
                Plugin plugin = new Plugin();
                plugin.setPrefix(goalPrefix);
                plugin.setArtifactId(artifactId);
                plugin.setName(name);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. internal/bucket/lifecycle/lifecycle.go

    	}
    	for _, rule := range lc.Rules {
    		if rule.Status == Disabled {
    			continue
    		}
    
    		if len(prefix) > 0 && len(rule.GetPrefix()) > 0 {
    			// we can skip this rule if it doesn't match the tested
    			// prefix.
    			if !strings.HasPrefix(prefix, rule.GetPrefix()) && !strings.HasPrefix(rule.GetPrefix(), prefix) {
    				continue
    			}
    		}
    
    		if rule.NoncurrentVersionExpiration.NoncurrentDays > 0 {
    			return true
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/platform/PlatformTest.kt

      @Test
      fun alwaysBuilds() {
        Platform()
      }
    
      /** Guard against the default value changing by accident.  */
      @Test
      fun defaultPrefix() {
        assertThat(Platform().getPrefix()).isEqualTo("OkHttp")
      }
    
      @Test
      fun testToStringIsClassname() {
        assertThat(Platform().toString()).isEqualTo("Platform")
      }
    
      @Test
      fun testNotAndroid() {
        platform.assumeNotAndroid()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Jan 04 05:32:07 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/query/parser/QueryParserTest.java

            query = queryParser.createDefaultFilterChain().parse("fess*");
            assertEquals(PrefixQuery.class, query.getClass());
            assertEquals("_default:fess", ((PrefixQuery) query).getPrefix().toString());
    
            query = queryParser.createDefaultFilterChain().parse("fe?s");
            assertEquals(WildcardQuery.class, query.getClass());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top