Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for capitalize (0.09 sec)

  1. src/test/java/org/codelibs/core/lang/StringUtilTest.java

         */
        @Test
        public void testCapitalize() throws Exception {
            assertEquals("Abc", StringUtil.capitalize("abc"));
            assertEquals("Abc", StringUtil.capitalize("Abc"));
            assertEquals("ABC", StringUtil.capitalize("ABC"));
            assertEquals("UserId", StringUtil.capitalize("userId"));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. build-logic/buildquality/src/main/kotlin/gradlebuild.incubation-report-aggregation.gradle.kts

    import gradlebuild.basics.capitalize
    import gradlebuild.incubation.tasks.IncubatingApiAggregateReportTask
    
    plugins {
        id("base")
    }
    
    val reports by configurations.creating {
        isVisible = false
        isCanBeResolved = false
        isCanBeConsumed = false
        description = "Dependencies to aggregate reports from"
    }
    
    val allIncubationReports = tasks.register<IncubatingApiAggregateReportTask>("allIncubationReports") {
        group = "verification"
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  3. build-logic/build-init-samples/src/main/kotlin/gradlebuild/generate-samples.gradle.kts

    }
    
    fun setupGeneratorTask(language: Language, kind: String, modularizationOption: ModularizationOption) {
        val buildInitType = "${language.getName()}-$kind"
        val capName = language.getName().capitalize()
        val capKind = kind.capitalize().replace("y", "ie") + "s"
        val languageDisplayName = language.toString().replace("C++", "{cpp}")
        val sampleName = "building$capName$capKind" + if (modularizationOption.isMulti()) "MultiProject" else ""
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  4. build-logic/build-update-utils/src/main/kotlin/gradlebuild.wrapper.gradle.kts

    import gradlebuild.basics.capitalize
    import com.google.gson.Gson
    import java.net.URI
    
    wrapperUpdateTask("nightly", "nightly")
    wrapperUpdateTask("rc", "release-candidate")
    wrapperUpdateTask("current", "current")
    
    tasks.withType<Wrapper>().configureEach {
        val jvmOpts = "-Dfile.encoding=UTF-8"
        inputs.property("jvmOpts", jvmOpts)
        doLast {
            val optsEnvVar = "DEFAULT_JVM_OPTS"
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Sep 17 08:58:33 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/StringExtensions.kt

    import java.util.Locale
    
    fun String.toLowerCase(): String =
        lowercase(Locale.US)
    
    fun String.toUpperCase(): String =
        uppercase(Locale.US)
    
    fun String.capitalize(): String =
        replaceFirstChar { it.uppercase(Locale.US) }
    
    fun String.decapitalize(): String =
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 961 bytes
    - Viewed (0)
  6. build-logic/buildquality/src/main/kotlin/gradlebuild.incubation-report.gradle.kts

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    import gradlebuild.basics.accessors.kotlinMainSourceSet
    import gradlebuild.basics.capitalize
    import gradlebuild.basics.releasedVersionsFile
    import gradlebuild.basics.repoRoot
    import gradlebuild.incubation.tasks.IncubatingApiReportTask
    
    plugins {
        java
        groovy
    }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Feb 12 13:19:06 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/lang/StringUtil.java

         * <p>
         * 次のように使います.
         * </p>
         *
         * <pre>
         * StringUtil.capitalize("userId")  = "UserId"
         * StringUtil.capitalize("ABC")  = "ABC"
         * </pre>
         *
         * @param name
         *            名前
         * @return 結果の文字列
         */
        public static String capitalize(final String name) {
            if (isEmpty(name)) {
                return name;
            }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  8. build-logic-commons/publishing/src/main/kotlin/gradlebuild.kotlin-dsl-plugin-bundle.gradle.kts

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    import gradlebuild.basics.capitalize
    import gradlebuild.pluginpublish.extension.PluginPublishExtension
    import java.time.Year
    
    plugins {
        id("gradlebuild.module-identity")
        `maven-publish`
        signing
        `java-gradle-plugin`
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Aug 08 14:54:27 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/header-params.md

    Also, HTTP headers are case-insensitive, so, you can declare them with standard Python style (also known as "snake_case").
    
    So, you can use `user_agent` as you normally would in Python code, instead of needing to capitalize the first letters as `User_Agent` or something similar.
    
    If for some reason you need to disable automatic conversion of underscores to hyphens, set the parameter `convert_underscores` of `Header` to `False`:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. disabled-Jenkinsfile

            echo "OS: ${os} JDK: ${jdk} => Label: ${osLabel} JDK: ${jdkName}"
    
            String stageId = "${os}-jdk${jdk}"
            String stageLabel = "Run ITs ${os.capitalize()} Java ${jdk}"
            runITsTasks[stageId] = {
                node(jenkinsEnv.nodeSelection(osLabel)) {
                    stage("${stageLabel}") {
                        echo "NODE_NAME = ${env.NODE_NAME}"
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Sep 30 14:11:55 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top