Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for twoWords (0.14 sec)

  1. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/GUtil.java

            }
            return toWords(string, '_').toUpperCase(Locale.ROOT);
        }
    
        /**
         * Converts an arbitrary string to space-separated words. Eg, camelCase -> camel case, with_underscores -> with underscores
         */
        public static String toWords(CharSequence string) {
            return toWords(string, ' ');
        }
    
        public static String toWords(CharSequence string, char separator) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/api/internal/component/ArtifactType.java

    import org.gradle.util.internal.GUtil;
    
    public enum ArtifactType {
        SOURCES, JAVADOC, IVY_DESCRIPTOR, MAVEN_POM;
    
        @Override
        public String toString() {
            return "'" + GUtil.toWords(name()) + "' artifacts";
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 890 bytes
    - Viewed (0)
  3. platforms/core-runtime/logging/src/main/java/org/gradle/util/GUtil.java

            if (string == null) {
                return null;
            }
            return toWords(string, '_').toUpperCase();
        }
    
        /**
         * Converts an arbitrary string to space-separated words. Eg, camelCase -> camel case, with_underscores -> with underscores
         */
        public static String toWords(CharSequence string) {
            return toWords(string, ' ');
        }
    
        @SuppressWarnings("StringCaseLocaleUsage")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  4. platforms/jvm/plugins-jvm-test-suite/src/main/java/org/gradle/api/plugins/jvm/internal/DefaultJvmTestSuiteTarget.java

            this.name = name;
    
            // Might not always want Test type here?
            this.testTask = tasks.register(name, Test.class, t -> {
                t.setDescription("Runs the " + GUtil.toWords(name) + " suite.");
                t.setGroup(JavaBasePlugin.VERIFICATION_GROUP);
            });
            this.taskDependencyFactory = taskDependencyFactory;
        }
    
        @Override
        public String getName() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/WellBehavedPluginTest.groovy

        String getPluginName() {
            def matcher = Pattern.compile("(\\w+)Plugin(GoodBehaviour)?(Integ(ration)?)?Test").matcher(getClass().simpleName)
            if (matcher.matches()) {
                return GUtil.toWords(matcher.group(1), (char) '-')
            }
            throw new UnsupportedOperationException("Cannot determine plugin id from class name '${getClass().simpleName}.")
        }
    
        String getQualifiedPluginId() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 13:39:44 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. pilot/pkg/model/sidecar_test.go

    			},
    		},
    	}
    
    	services6 = []*Service{
    		{
    			Hostname: "bar",
    			Ports:    twoPorts,
    			Attributes: ServiceAttributes{
    				Name:      "bar",
    				Namespace: "foo",
    			},
    		},
    	}
    
    	services7 = []*Service{
    		{
    			Hostname: "bar",
    			Ports:    twoPorts,
    			Attributes: ServiceAttributes{
    				Name:      "bar",
    				Namespace: "foo",
    			},
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 07 09:38:49 UTC 2024
    - 74.3K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/adapter/ProtocolToModelAdapter.java

            T match = findEnumValue(enumType, literal);
            if (match != null) {
                return match;
            }
    
            final String alternativeLiteral = toWords(literal, '_');
            match = findEnumValue(enumType, alternativeLiteral);
            if (match != null) {
                return match;
            }
    
            String sep = "";
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 04:42:54 UTC 2024
    - 45.4K bytes
    - Viewed (0)
Back to top