Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: doribd/java_examples
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: codex/add-java-21-support-and-update-readme
Choose a base ref
...
head repository: doribd/java_examples
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 9 commits
  • 7 files changed
  • 2 contributors

Commits on Jul 2, 2025

  1. Merge pull request #3 from doribd/codex/add-java-21-support-and-updat…

    …e-readme
    
    Add Java 21 examples
    doribd authored Jul 2, 2025
    Configuration menu
    Copy the full SHA
    0fd294f View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2025

  1. Upgrade trail src code to Java 21

    Changes made:
    - English.java: Updated comments to reflect Java 21 and better document features
    - Letters.java: Replaced instanceof if statement with switch pattern matching, added multiple type cases and null handling
    - Main.java: Enhanced with Java 21 pattern matching switch, null handling, and guarded patterns with 'when' clause
    
    All files now fully leverage Java 21 features including:
    - Pattern matching in switch expressions
    - Null case handling in switch
    - Guarded patterns with when clauses
    - Enhanced type pattern matching
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    
    Co-Authored-By: Claude <noreply@anthropic.com>
    claude committed Oct 27, 2025
    Configuration menu
    Copy the full SHA
    000496a View commit details
    Browse the repository at this point in the history
  2. Update README to accurately reflect Java 21 repository content

    - Changed title to indicate Java 10-21 feature demonstrations
    - Added repository structure section mapping files to features
    - Enhanced feature descriptions with explanations
    - Added compilation requirements specifying Java 21 needed
    - Improved formatting and organization for better clarity
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    
    Co-Authored-By: Claude <noreply@anthropic.com>
    claude committed Oct 27, 2025
    Configuration menu
    Copy the full SHA
    10ec5d2 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #4 from doribd/claude/upgrade-trail-java-011CUYKzk…

    …FWnhi4nETjUg6zX
    
    Upgrade trail src code to Java 21
    doribd authored Oct 27, 2025
    Configuration menu
    Copy the full SHA
    0c94a9d View commit details
    Browse the repository at this point in the history
  4. Merge pull request #5 from doribd/claude/session-011CUYLDtHKfDtbRL8D2…

    …RhmQ
    
    Update README to accurately reflect Java 21 repository content
    doribd authored Oct 27, 2025
    Configuration menu
    Copy the full SHA
    c671e4d View commit details
    Browse the repository at this point in the history
  5. Add Java 25 features demonstration

    Added two new files showcasing Java 25 features:
    - Main25.java: Demonstrates flexible constructor bodies (JEP 482) and primitive type patterns (JEP 455)
    - StreamGatherers25.java: Demonstrates the Stream Gatherers API with examples of windowFixed, windowSliding, fold, and mapConcurrent
    
    Updated README.md to include:
    - Java 25 section in features listing
    - New files in repository structure
    - Updated title and compilation requirements
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    
    Co-Authored-By: Claude <noreply@anthropic.com>
    claude committed Oct 27, 2025
    Configuration menu
    Copy the full SHA
    1d3333d View commit details
    Browse the repository at this point in the history
  6. Merge pull request #6 from doribd/claude/session-011CUYLbBL5s5VqbqCKq…

    …3fM7
    
    Add Java 25 features demonstration
    doribd authored Oct 27, 2025
    Configuration menu
    Copy the full SHA
    564781c View commit details
    Browse the repository at this point in the history
  7. Update .gitignore with modern Java project patterns

    Remove outdated entries (BlueJ, J2ME) and add comprehensive coverage for:
    - Modern IDEs (IntelliJ IDEA, VS Code, Eclipse, NetBeans)
    - Build directories (out/, target/, build/, bin/, dist/)
    - OS-specific files (macOS, Windows, Linux)
    - Maven and Gradle build artifacts
    - Temporary and backup files
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    
    Co-Authored-By: Claude <noreply@anthropic.com>
    claude committed Oct 27, 2025
    Configuration menu
    Copy the full SHA
    0e329a7 View commit details
    Browse the repository at this point in the history
  8. Merge pull request #7 from doribd/claude/update-gitignore-011CUYLxCjm…

    …BEAM6ZvUvj6dj
    
    Update .gitignore with modern Java project patterns
    doribd authored Oct 27, 2025
    Configuration menu
    Copy the full SHA
    865c14b View commit details
    Browse the repository at this point in the history
Loading