[PR #2240] [MERGED] fix: update java examples to be idiomatic and cleanup #2255

Closed
opened 2026-02-17 17:23:13 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/2240
Author: @lunevalex
Created: 1/14/2026
Status: Merged
Merged: 1/15/2026
Merged by: @lunevalex

Base: mainHead: alunev/update-java-examples


📝 Commits (1)

  • cdb798d fix: update java examples to be idiomatic and cleanup

📊 Changes

1 file changed (+30 additions, -62 deletions)

View changed files

📝 src/langsmith/manage-datasets-programmatically.mdx (+30 -62)

📄 Description

Overview

Cleaned up examples for LangSmith Java SDK to be more idiomatic and cleaner

  • Use Map.of instead of HashMap
  • Cleanup uncenssary error handling/logging for brevity
  • Fix use of Optional

Type of change

Fix typo/bug/link/formatting

Related issues/PRs

#2221

Checklist

  • I have read the contributing guidelines
  • [] I have tested my changes locally using docs dev
  • [] All code examples have been tested and work correctly
  • [] I have used root relative paths for internal links
  • [] I have updated navigation in src/docs.json if needed

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/docs/pull/2240 **Author:** [@lunevalex](https://github.com/lunevalex) **Created:** 1/14/2026 **Status:** ✅ Merged **Merged:** 1/15/2026 **Merged by:** [@lunevalex](https://github.com/lunevalex) **Base:** `main` ← **Head:** `alunev/update-java-examples` --- ### 📝 Commits (1) - [`cdb798d`](https://github.com/langchain-ai/docs/commit/cdb798d40b1b31ac145637310f4079bf082f7727) fix: update java examples to be idiomatic and cleanup ### 📊 Changes **1 file changed** (+30 additions, -62 deletions) <details> <summary>View changed files</summary> 📝 `src/langsmith/manage-datasets-programmatically.mdx` (+30 -62) </details> ### 📄 Description ## Overview Cleaned up examples for LangSmith Java SDK to be more idiomatic and cleaner - Use Map.of instead of HashMap - Cleanup uncenssary error handling/logging for brevity - Fix use of Optional ## Type of change Fix typo/bug/link/formatting ## Related issues/PRs #2221 ## Checklist <!-- Put an 'x' in all boxes that apply --> - [x] I have read the [contributing guidelines](README.md) - [] I have tested my changes locally using `docs dev` - [] All code examples have been tested and work correctly - [] I have used **root relative** paths for internal links - [] I have updated navigation in `src/docs.json` if needed --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-17 17:23:13 -05:00
yindo closed this issue 2026-02-17 17:23:13 -05:00
yindo changed title from [PR #2240] fix: update java examples to be idiomatic and cleanup to [PR #2240] [MERGED] fix: update java examples to be idiomatic and cleanup 2026-06-05 18:17:31 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#2255