Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 62 for newValue (0.35 sec)

  1. src/test/java/org/codelibs/fess/util/ParameterUtilTest.java

            // Test overwriting existing keys
            paramMap = new HashMap<>();
            paramMap.put("key1", "oldValue");
            configParam = "key1=newValue";
            ParameterUtil.loadConfigParams(paramMap, configParam);
            assertEquals(1, paramMap.size());
            assertEquals("newValue", paramMap.get("key1"));
        }
    
        public void test_createConfigParameterMap() {
            String configParameters;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/misc/DynamicProperties.java

     * </ul>
     *
     * <p>Usage:
     * <pre>
     * DynamicProperties dynamicProperties = new DynamicProperties("path/to/properties/file");
     * String value = dynamicProperties.getProperty("key");
     * dynamicProperties.setProperty("key", "newValue");
     * dynamicProperties.store();
     * </pre>
     *
     * <p>Exceptions:
     * <ul>
     *   <li>{@link FileAccessException} - Thrown if there are issues accessing the file.</li>
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/TreeMultiset.java

        private @Nullable T value;
    
        @Nullable T get() {
          return value;
        }
    
        void checkAndSet(@Nullable T expected, @Nullable T newValue) {
          if (value != expected) {
            throw new ConcurrentModificationException();
          }
          value = newValue;
        }
    
        void clear() {
          value = null;
        }
      }
    
      private static final class AvlNode<E extends @Nullable Object> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableMap.java

       * @deprecated Unsupported operation.
       */
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public final boolean replace(K key, V oldValue, V newValue) {
        throw new UnsupportedOperationException();
      }
    
      /**
       * Guaranteed to throw an exception and leave the map unmodified.
       *
       * @throws UnsupportedOperationException always
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 44.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/tomcat/valve/SuppressErrorReportValveTest.java

            assertFalse(valve.isShowServerInfo());
        }
    
        public void test_defaultSettings() {
            final SuppressErrorReportValve newValve = new SuppressErrorReportValve();
            assertFalse(newValve.isShowReport());
            assertFalse(newValve.isShowServerInfo());
        }
    
        public void test_setShowReport() {
            valve.setShowReport(true);
            assertTrue(valve.isShowReport());
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  6. schema/field_test.go

    			t.Errorf("no error should happen when assign value to field %v, but got %v", k, err)
    		}
    	}
    	newValues["updated_at"] = time.Time{}
    	newValues["active"] = false
    	checkField(t, userSchema, reflectValue, newValues)
    
    	// test valuer and other type
    	age := myint(10)
    	var nilTime *time.Time
    	newValues2 := map[string]interface{}{
    		"name":       sql.NullString{String: "valuer_and_setter_3", Valid: true},
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sat Feb 19 09:02:53 UTC 2022
    - 12.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/it/admin/ReqHeaderTests.java

            return requestBody;
        }
    
        @Override
        protected Map<String, Object> getUpdateMap() {
            final Map<String, Object> updateMap = new HashMap<>();
            updateMap.put("value", "new_value");
            return updateMap;
        }
    
        @Test
        void crudTest() {
            testCreate();
            testRead();
            testUpdate();
            testDelete();
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

                }
                if (value.getClass().isArray()) {
                    final Object[] newValues = (Object[]) value;
                    final Object[] values = Arrays.copyOf(oldValues, oldValues.length + newValues.length);
                    for (int i = 0; i < newValues.length; i++) {
                        values[values.length - 1 + i] = newValues[i];
                    }
                    dataMap.put(key, values);
                } else {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/LinkedListMultimap.java

        List<V> oldValues = getCopy(key);
        ListIterator<V> keyValues = new ValueForKeyIterator(key);
        Iterator<? extends V> newValues = values.iterator();
    
        // Replace existing values, if any.
        while (keyValues.hasNext() && newValues.hasNext()) {
          keyValues.next();
          keyValues.set(newValues.next());
        }
    
        // Remove remaining old values, if any.
        while (keyValues.hasNext()) {
          keyValues.next();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsBuilderTest.java

            assertEquals(true, builder.initialSettings.get("key3"));
    
            // Test overwriting existing setting
            builder.addInitialSettings("key1", "newValue1");
            assertEquals(3, builder.initialSettings.size());
            assertEquals("newValue1", builder.initialSettings.get("key1"));
        }
    
        @Test
        public void testAddInitialSettingsWithNullValue() {
            // Test adding null value
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 14.4K bytes
    - Viewed (0)
Back to top