- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for createItem (0.06 sec)
-
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java
} public void test_createMode() { // Test special behavior when id is 0 (create mode) StopwordsItem createItem = new StopwordsItem(0, "newword"); assertTrue(createItem.isUpdated()); assertEquals("newword", createItem.getNewInput()); assertEquals("newword", createItem.toLineString()); // Non-zero id should not auto-set newInput
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/systeminfo/AdminSysteminfoAction.java
return createItem(key, System.getProperty(key)); } /** * Creates a key-value item map for display. * * @param label the item label * @param value the item value * @return map containing the formatted key-value pair */ protected static Map<String, String> createItem(final Object label, final Object value) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 9.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/webauth/AdminWebauthAction.java
itemList.add(createItem(ComponentUtil.getMessageManager().getMessage(locale, "labels.webauth_scheme_basic"), Constants.BASIC)); itemList.add(createItem(ComponentUtil.getMessageManager().getMessage(locale, "labels.webauth_scheme_digest"), Constants.DIGEST)); itemList.add(createItem(ComponentUtil.getMessageManager().getMessage(locale, "labels.webauth_scheme_ntlm"), Constants.NTLM));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 20.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/fileauth/AdminFileauthAction.java
final Locale locale = ComponentUtil.getRequestManager().getUserLocale(); itemList.add(createItem(ComponentUtil.getMessageManager().getMessage(locale, "labels.file_auth_scheme_samba"), Constants.SAMBA)); itemList.add(createItem(ComponentUtil.getMessageManager().getMessage(locale, "labels.file_auth_scheme_ftp"), Constants.FTP));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 19.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/reqheader/AdminReqheaderAction.java
final List<WebConfig> webConfigList = crawlingConfigHelper.getAllWebConfigList(false, false, false, null); for (final WebConfig webConfig : webConfigList) { itemList.add(createItem(webConfig.getName(), webConfig.getId().toString())); } RenderDataUtil.register(data, "webConfigItems", itemList); } /** * Creates a map item for UI rendering with label and value.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 18.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/user/AdminUserAction.java
* * @param label the display label for the item * @param value the value associated with the item * @return a map containing the label and value entries */ protected Map<String, String> createItem(final String label, final String value) { final Map<String, String> map = new HashMap<>(2); map.put(Constants.ITEM_LABEL, label); map.put(Constants.ITEM_VALUE, value); return map; }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 19.5K bytes - Viewed (0) -
cmd/common-main_test.go
"value", }, { " \t\n Hello, Gophers \n\t\r\n", false, "Hello, Gophers", }, } for _, testCase := range testCases { t.Run("", func(t *testing.T) { tmpfile, err := os.CreateTemp(t.TempDir(), "testfile") if err != nil { t.Error(err) } tmpfile.WriteString(testCase.content) tmpfile.Sync() tmpfile.Close() value, err := readFromSecret(tmpfile.Name())
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 3.7K bytes - Viewed (0) -
misc/ios/detect.go
fmt.Println("# NOTE: Any existing app on the device with the app id specified by GOIOS_APP_ID") fmt.Println("# will be overwritten when running Go programs.") for _, mp := range mps { fmt.Println() f, err := os.CreateTemp("", "go_ios_detect_") check(err) fname := f.Name() defer os.Remove(fname) out := output(parseMobileProvision(mp)) _, err = f.Write(out) check(err) check(f.Close())
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Oct 19 23:33:30 UTC 2023 - 3.2K bytes - Viewed (0) -
cmd/update_test.go
} } // Tests if the environment we are running is Helm chart. func TestGetHelmVersion(t *testing.T) { createTempFile := func(content string) string { tmpfile, err := os.CreateTemp(t.TempDir(), "helm-testfile-") if err != nil { t.Fatalf("Unable to create temporary file. %s", err) } if _, err = tmpfile.WriteString(content); err != nil {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 10.4K bytes - Viewed (0) -
docs/en/docs/release-notes.md
* 📝 Update example source files for SQL databases with SQLAlchemy. PR [#9508](https://github.com/tiangolo/fastapi/pull/9508) by [@s-mustafa](https://github.com/s-mustafa). * 📝 Update code examples in docs for body, replace name `create_item` with `update_item` when appropriate. PR [#5913](https://github.com/tiangolo/fastapi/pull/5913) by [@OttoAndrey](https://github.com/OttoAndrey).
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Fri Sep 05 12:48:45 UTC 2025 - 544.1K bytes - Viewed (0)