Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for uncapitalize (0.09 sec)

  1. src/main/java/org/codelibs/fess/entity/ParamMap.java

                return key;
            }
            String keyStr = key.toString();
            if (keyStr.indexOf('_') < 0) {
                keyStr = CaseFormat.LOWER_CAMEL.to(CaseFormat.LOWER_UNDERSCORE, StringUtils.uncapitalize(keyStr));
            } else {
                keyStr = CaseFormat.LOWER_UNDERSCORE.to(CaseFormat.LOWER_CAMEL, keyStr);
            }
            return keyStr;
        }
    
        @Override
        public int size() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/lang/StringUtilTest.java

            assertEquals("abc", StringUtil.decapitalize("abc"));
            assertEquals("abc", StringUtil.decapitalize("Abc"));
            assertEquals("ABC", StringUtil.decapitalize("ABC"));
            assertEquals("userId", StringUtil.decapitalize("UserId"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testEndsWithIgnoreCase() throws Exception {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 12K bytes
    - Viewed (0)
  3. 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 decapitalize(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)
  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/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)
  6. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

            else {
                val prefixRemoved = method.name.drop(3)
                if (hasSetterName && isBoolean) listOf("is$prefixRemoved", prefixRemoved.decapitalize())
                else listOf(prefixRemoved.decapitalize())
            }
    
        val propertyQualifiedNames =
            propertyNames.map { "$qualifiedBaseName.$it" }
    
        return collectDescendantsOfType { ktProperty ->
            when {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Jul 04 08:05:22 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

                    if (m.getParameterTypes().length != 0 || methodName.equals("getClass") || m.getReturnType() == void.class) {
                        continue;
                    }
                    final String propertyName = StringUtil.decapitalize(methodName.substring(3));
                    setupReadMethod(m, propertyName);
                } else if (methodName.startsWith("is")) {
                    if (m.getParameterTypes().length != 0
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 26.1K 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