-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleaned up CSVStockFileWriter and added a logger for exceptions
Deleted CSVStockFileWriterTest
- Loading branch information
Nikollai
committed
May 18, 2026
1 parent
91ce42c
commit c717175
Showing
4 changed files
with
22 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 5 additions & 2 deletions
7
src/main/java/millions/controller/fileIO/StockFileWriter.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,14 @@ | ||
| package millions.controller.fileIO; | ||
|
|
||
| import millions.model.Stock; | ||
|
|
||
| import java.nio.file.Path; | ||
| import java.util.List; | ||
|
|
||
| /** | ||
| * Interface for writing stock data to a file. | ||
| */ | ||
| public interface StockFileWriter { | ||
| public void formatString(); | ||
| public boolean write(Path path); | ||
| String formatString(List<Stock> stocks); | ||
| boolean write(List<Stock> stocks, Path path); | ||
| } |
This file was deleted.
Oops, something went wrong.