Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 248 for conventions (0.18 seconds)

  1. architecture/standards/0006-use-of-provider-apis-in-gradle.md

    When defining conventions for a property, there are largely three approaches:
    1. Do not set a convention at all
    2. Set a convention in a plugin
    3. Set a convention in a constructor
    
    Most properties should have a convention set, so (1) can be treated as a rare case where a value must be provided by a user.
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 05 12:39:41 GMT 2026
    - 10K bytes
    - Click Count (0)
  2. okhttp/build.gradle.kts

    plugins {
      kotlin("multiplatform")
      id("com.android.kotlin.multiplatform.library")
      kotlin("plugin.serialization")
      id("okhttp.publish-conventions")
      id("okhttp.jvm-conventions")
      id("okhttp.quality-conventions")
      id("okhttp.testing-conventions")
      id("app.cash.burst")
      alias(libs.plugins.maven.sympathy)
    }
    
    val copyKotlinTemplates =
      tasks.register<Copy>("copyKotlinTemplates") {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Feb 04 22:16:39 GMT 2026
    - 11.4K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/TestingConventionsTasks.java

     * Side Public License, v 1.
     */
    package org.elasticsearch.gradle.internal.precommit;
    
    import groovy.lang.Closure;
    import org.elasticsearch.gradle.util.GradleUtils;
    import org.elasticsearch.gradle.internal.conventions.util.Util;
    import org.gradle.api.DefaultTask;
    import org.gradle.api.NamedDomainObjectContainer;
    import org.gradle.api.Task;
    import org.gradle.api.file.FileCollection;
    import org.gradle.api.file.FileTree;
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 17.6K bytes
    - Click Count (0)
  4. build-tools-internal/build.gradle

     * in compliance with, at your election, the Elastic License 2.0 or the Server
     * Side Public License, v 1.
     */
    
    
    import org.elasticsearch.gradle.internal.conventions.VersionPropertiesLoader
    import org.apache.tools.ant.taskdefs.condition.Os
    import org.gradle.plugins.ide.eclipse.model.AccessRule
    import org.gradle.plugins.ide.eclipse.model.SourceFolder
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 13 18:10:22 GMT 2021
    - 11.3K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/mylasta/action/FessLabelsTest.java

                    // Check field name follows convention
                    assertTrue("Field name should match pattern: " + field.getName(), labelPattern.matcher(field.getName()).matches());
    
                    // Check field value follows convention
                    field.setAccessible(true);
                    String value = (String) field.get(null);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java

     * http://creativecommons.org/publicdomain/zero/1.0/
     */
    
    /*
     * Source:
     * http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/test/tck-jsr166e/AtomicDoubleTest.java?revision=1.8
     * (Modified to adapt to guava coding conventions)
     */
    
    package com.google.common.util.concurrent;
    
    import static com.google.common.truth.Truth.assertThat;
    import static java.lang.Math.max;
    
    import com.google.common.annotations.GwtIncompatible;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/lang/StringUtil.java

            }
            if (text.startsWith(prefix)) {
                return text.substring(prefix.length());
            }
            return text;
        }
    
        /**
         * Decapitalizes a string according to JavaBeans conventions.
         * Note: If the first two characters are uppercase, the string will not be decapitalized.
         * <p>
         * Usage example:
         * </p>
         *
         * <pre>
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 21.5K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java

         * of the child. The general idea is to adjust inherited URLs to match the project layout (in SCM).
         *
         * <p>This calculation is only a heuristic based on our conventions.
         * In detail, the algo relies on the following assumptions: <ul>
         * <li>The parent uses aggregation and refers to the child via the modules section</li>
         * <li>The module path to the child is considered to
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

     */
    
    /*
     * Source:
     * http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/test/tck-jsr166e/AtomicDoubleArrayTest.java?revision=1.13
     * (Modified to adapt to guava coding conventions)
     */
    
    package com.google.common.util.concurrent;
    
    import static com.google.common.truth.Truth.assertThat;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.annotations.GwtIncompatible;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  10. README.md

    import org.codelibs.core.convert.*;
    
    // Safe type conversions with null handling
    Integer value = IntegerConversionUtil.toInteger("123");        // Returns 123
    Integer nullValue = IntegerConversionUtil.toInteger(null);     // Returns null
    Boolean flag = BooleanConversionUtil.toBoolean("true");        // Returns true
    Date date = DateConversionUtil.toDate("2023-12-25", "yyyy-MM-dd");
    
    // Primitive conversions with default values
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sun Aug 31 02:56:02 GMT 2025
    - 12.7K bytes
    - Click Count (0)
Back to Top