Skip to content

fix: update java examples to be idiomatic and cleanup#2240

Merged
lunevalex merged 1 commit into
mainfrom
alunev/update-java-examples
Jan 15, 2026
Merged

fix: update java examples to be idiomatic and cleanup#2240
lunevalex merged 1 commit into
mainfrom
alunev/update-java-examples

Conversation

@lunevalex

@lunevalex lunevalex commented Jan 15, 2026

Copy link
Copy Markdown
Contributor

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

- Use Map.of instead of HashMap
- Cleanup uncenssary error handling/logging for brevity
- Fix use of Optional
@github-actions github-actions Bot added langsmith For docs changes to LangSmith internal labels Jan 15, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Mintlify preview ID generated: preview-alunev-1768452649-02f84e8

@lunevalex
lunevalex merged commit d6318c7 into main Jan 15, 2026
15 checks passed
@lunevalex
lunevalex deleted the alunev/update-java-examples branch January 15, 2026 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal langsmith For docs changes to LangSmith

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants