Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 79 for DefaultValue (0.04 sec)

  1. src/main/java/org/codelibs/fess/util/DocumentUtil.java

         * @param clazz the class type to convert the value to
         * @param defaultValue the default value to return if the key is not found or conversion fails
         * @return the converted value or the default value if not found
         */
        public static <T> T getValue(final Map<String, Object> doc, final String key, final Class<T> clazz, final T defaultValue) {
            final T value = getValue(doc, key, clazz);
            if (value == null) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/util/MimeMapTest.java

            @ValueSource(strings = { "text/unknown", "application/x-unknown", "custom/type", "" })
            void testVariousDefaultValues(String defaultValue) throws IOException {
                assertEquals(defaultValue, mimeMap.getMimeType("notinmap", defaultValue));
            }
        }
    
        @Nested
        @DisplayName("Edge cases and special scenarios")
        class EdgeCases {
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RelocatedArtifact.java

        }
    
        @Override
        public File getFile() {
            return artifact.getFile();
        }
    
        @Override
        public String getProperty(String key, String defaultValue) {
            return artifact.getProperty(key, defaultValue);
        }
    
        @Override
        public Map<String, String> getProperties() {
            return artifact.getProperties();
        }
    
        public String getMessage() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 07:09:12 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  4. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt

            // v1 == 0.
            .optional(defaultValue = 0),
          Adapters.INTEGER_AS_BIG_INTEGER,
          algorithmIdentifier,
          name,
          validity,
          name,
          subjectPublicKeyInfo,
          Adapters.BIT_STRING.withTag(tag = 1L).optional(),
          Adapters.BIT_STRING.withTag(tag = 2L).optional(),
          extension.asSequenceOf().withExplicitBox(tag = 3).optional(defaultValue = listOf()),
          decompose = {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/mdo/profiles.mdo

              <description>The type of layout this repository uses for locating and storing artifacts - can be "legacy" or
                "default".</description>
              <type>String</type>
              <defaultValue>default</defaultValue>
            </field>
          </fields>
          <codeSegments>
            <codeSegment>
              <version>1.0.0</version>
              <code><![CDATA[
                public boolean equals( Object obj )
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jan 22 11:03:29 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  6. migrator/column_type.go

    }
    
    // Comment returns the comment of current column.
    func (ct ColumnType) Comment() (value string, ok bool) {
    	return ct.CommentValue.String, ct.CommentValue.Valid
    }
    
    // DefaultValue returns the default value of current column.
    func (ct ColumnType) DefaultValue() (value string, ok bool) {
    	return ct.DefaultValueValue.String, ct.DefaultValueValue.Valid
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Thu Mar 24 01:31:58 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  7. migrator/migrator.go

    				if !strings.EqualFold(strings.TrimSuffix(dv, "()"), strings.TrimSuffix(field.DefaultValue, "()")) {
    					alterColumn = true
    				}
    			case schema.Bool:
    				v1, _ := strconv.ParseBool(dv)
    				v2, _ := strconv.ParseBool(field.DefaultValue)
    				alterColumn = v1 != v2
    			case schema.String:
    				if dv != field.DefaultValue && dv != strings.Trim(field.DefaultValue, "'\"") {
    					alterColumn = true
    				}
    			default:
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sun Oct 26 12:31:09 UTC 2025
    - 29.7K bytes
    - Viewed (0)
  8. api/maven-api-cli/src/main/mdo/core-extensions.mdo

              <version>1.1.0+</version>
              <defaultValue>self-first</defaultValue>
              <required>false</required>
              <type>String</type>
            </field>
            <field>
              <name>configuration</name>
              <version>1.2.0+</version>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun May 18 09:15:56 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  9. api/maven-api-metadata/src/main/mdo/metadata.mdo

              <version>1.0.0+</version>
              <description>Whether to use a local copy instead (with filename that includes the base version)</description>
              <type>boolean</type>
              <defaultValue>false</defaultValue>
            </field>
          </fields>
        </class>
        <class java.clone="deep">
          <name>SnapshotVersion</name>
          <version>1.1.0+</version>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed May 15 17:32:27 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/job/ExecJob.java

         * @param name the property name
         * @param defaultValue the default value to use if property doesn't exist
         * @param appendValue the value to append to the property value
         */
        protected void addSystemProperty(final List<String> cmdList, final String name, final String defaultValue, final String appendValue) {
            final String value = System.getProperty(name);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 14.2K bytes
    - Viewed (0)
Back to top