Skip to content

Conversation

@SunflowerRays
Copy link
Collaborator

Refactor demoRead method to use CsvTableFormatter for displaying data as a table and handle row truncation.

SunflowerRays and others added 3 commits December 3, 2025 21:27
Refactor demoRead method to use CsvTableFormatter for displaying data as a table and handle row truncation.
- CsvTableFormatter was deleted in this PR but Main.java depends on it
- Restored from main branch to fix compilation error
- All 452 tests now pass
- CsvTableFormatter was deleted in this PR but Main.java depends on it
- Restored from main branch to fix compilation error
- All 452 tests now pass
@edsonesf
Copy link
Collaborator

edsonesf commented Dec 3, 2025

The refactored demoRead() method in Main.java to use CsvTableFormatter for displaying CSV data as formatted tables with borders instead of plain row output.
The method now creates aligned, bordered tables that are more readable, handles row truncation with a message showing how many rows were displayed versus total rows, and properly limits output when a maximum row count is specified.
Fixed a compilation error by restoring the accidentally deleted CsvTableFormatter.java file that the refactored code depends on.

Copy link
Collaborator Author

@SunflowerRays SunflowerRays left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for restoring this

Copy link
Collaborator Author

@SunflowerRays SunflowerRays left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for restoring this

@bogdansharp
Copy link
Collaborator

Excellent improvement — this greatly enhances the visual appearance of the demo.

@MichaelMcKibbin MichaelMcKibbin merged commit 5b808fb into main Dec 3, 2025
5 checks passed
@MichaelMcKibbin MichaelMcKibbin deleted the demomain5 branch December 3, 2025 23:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants