From 5db442be4eae320003aeca88ffd00ec580cadc0b Mon Sep 17 00:00:00 2001 From: Chris Stones Date: Sun, 10 May 2020 20:12:06 +0000 Subject: [PATCH] Correct StockPrices_Small.csv filename for case sensitive file-systems. --- src/Linux/03/Completed/StockAnalyzer.Linux/MainWindow.xaml.cs | 2 +- src/Linux/03/Start_Here/StockAnalyzer.Linux/MainWindow.xaml.cs | 2 +- src/Linux/04/Completed/StockAnalyzer.Linux/MainWindow.xaml.cs | 2 +- .../StockAnalyzer.Linux/Services/StockStreamService.cs | 2 +- src/Linux/04/Start_Here/StockAnalyzer.Linux/MainWindow.xaml.cs | 2 +- .../StockAnalyzer.Linux/Services/StockStreamService.cs | 2 +- src/Linux/05/Start_Here/StockAnalyzer.Linux/MainWindow.xaml.cs | 2 +- src/MacOS/03/Completed/StockAnalyzer.MacOS/MainWindow.xaml.cs | 2 +- src/MacOS/03/Start_Here/StockAnalyzer.MacOS/MainWindow.xaml.cs | 2 +- src/MacOS/04/Completed/StockAnalyzer.MacOS/MainWindow.xaml.cs | 2 +- .../StockAnalyzer.MacOS/Services/StockStreamService.cs | 2 +- src/MacOS/04/Start_Here/StockAnalyzer.MacOS/MainWindow.xaml.cs | 2 +- .../StockAnalyzer.MacOS/Services/StockStreamService.cs | 2 +- src/MacOS/05/Start_Here/StockAnalyzer.MacOS/MainWindow.xaml.cs | 2 +- .../03/Completed/StockAnalyzer.Windows/MainWindow.xaml.cs | 2 +- .../03/Start_Here/StockAnalyzer.Windows/MainWindow.xaml.cs | 2 +- .../04/Completed/StockAnalyzer.Windows/MainWindow.xaml.cs | 2 +- .../04/Start_Here/StockAnalyzer.Windows/MainWindow.xaml.cs | 2 +- .../StockAnalyzer.Windows.Core/Services/StockStreamService.cs | 2 +- .../05/Start_Here/StockAnalyzer.Windows/MainWindow.xaml.cs | 2 +- 20 files changed, 20 insertions(+), 20 deletions(-) diff --git a/src/Linux/03/Completed/StockAnalyzer.Linux/MainWindow.xaml.cs b/src/Linux/03/Completed/StockAnalyzer.Linux/MainWindow.xaml.cs index 6e325c0..5e348bf 100644 --- a/src/Linux/03/Completed/StockAnalyzer.Linux/MainWindow.xaml.cs +++ b/src/Linux/03/Completed/StockAnalyzer.Linux/MainWindow.xaml.cs @@ -407,7 +407,7 @@ private Task> SearchForStocks(CancellationToken cancellationToken) { var lines = new List(); - using (var stream = new StreamReader(File.OpenRead(@"StockPrices_small.csv"))) + using (var stream = new StreamReader(File.OpenRead(@"StockPrices_Small.csv"))) { string line; while ((line = await stream.ReadLineAsync()) != null) diff --git a/src/Linux/03/Start_Here/StockAnalyzer.Linux/MainWindow.xaml.cs b/src/Linux/03/Start_Here/StockAnalyzer.Linux/MainWindow.xaml.cs index eacdf27..54b168f 100644 --- a/src/Linux/03/Start_Here/StockAnalyzer.Linux/MainWindow.xaml.cs +++ b/src/Linux/03/Start_Here/StockAnalyzer.Linux/MainWindow.xaml.cs @@ -71,7 +71,7 @@ private Task> SearchForStocks(CancellationToken cancellationToken) { var lines = new List(); - using (var stream = new StreamReader(File.OpenRead(@"StockPrices_small.csv"))) + using (var stream = new StreamReader(File.OpenRead(@"StockPrices_Small.csv"))) { string line; while ((line = await stream.ReadLineAsync()) != null) diff --git a/src/Linux/04/Completed/StockAnalyzer.Linux/MainWindow.xaml.cs b/src/Linux/04/Completed/StockAnalyzer.Linux/MainWindow.xaml.cs index 09f9b2f..783e414 100644 --- a/src/Linux/04/Completed/StockAnalyzer.Linux/MainWindow.xaml.cs +++ b/src/Linux/04/Completed/StockAnalyzer.Linux/MainWindow.xaml.cs @@ -451,7 +451,7 @@ private Task> SearchForStocks(CancellationToken cancellationToken) { var lines = new List(); - using (var stream = new StreamReader(File.OpenRead(@"StockPrices_small.csv"))) + using (var stream = new StreamReader(File.OpenRead(@"StockPrices_Small.csv"))) { string line; while ((line = await stream.ReadLineAsync()) != null) diff --git a/src/Linux/04/Completed/StockAnalyzer.Linux/Services/StockStreamService.cs b/src/Linux/04/Completed/StockAnalyzer.Linux/Services/StockStreamService.cs index 56d9e22..1db8a5c 100644 --- a/src/Linux/04/Completed/StockAnalyzer.Linux/Services/StockStreamService.cs +++ b/src/Linux/04/Completed/StockAnalyzer.Linux/Services/StockStreamService.cs @@ -37,7 +37,7 @@ public class StockDiskStreamService : IStockStreamService public async IAsyncEnumerable GetAllStockPrices(CancellationToken cancellationToken = default) { using var stream = - new StreamReader(File.OpenRead(@"StockPrices_small.csv")); + new StreamReader(File.OpenRead(@"StockPrices_Small.csv")); await stream.ReadLineAsync(); diff --git a/src/Linux/04/Start_Here/StockAnalyzer.Linux/MainWindow.xaml.cs b/src/Linux/04/Start_Here/StockAnalyzer.Linux/MainWindow.xaml.cs index 7ad9032..6d56799 100644 --- a/src/Linux/04/Start_Here/StockAnalyzer.Linux/MainWindow.xaml.cs +++ b/src/Linux/04/Start_Here/StockAnalyzer.Linux/MainWindow.xaml.cs @@ -96,7 +96,7 @@ private Task> SearchForStocks(CancellationToken cancellationToken) { var lines = new List(); - using (var stream = new StreamReader(File.OpenRead(@"StockPrices_small.csv"))) + using (var stream = new StreamReader(File.OpenRead(@"StockPrices_Small.csv"))) { string line; while ((line = await stream.ReadLineAsync()) != null) diff --git a/src/Linux/05/Completed/StockAnalyzer.Linux/Services/StockStreamService.cs b/src/Linux/05/Completed/StockAnalyzer.Linux/Services/StockStreamService.cs index 56d9e22..1db8a5c 100644 --- a/src/Linux/05/Completed/StockAnalyzer.Linux/Services/StockStreamService.cs +++ b/src/Linux/05/Completed/StockAnalyzer.Linux/Services/StockStreamService.cs @@ -37,7 +37,7 @@ public class StockDiskStreamService : IStockStreamService public async IAsyncEnumerable GetAllStockPrices(CancellationToken cancellationToken = default) { using var stream = - new StreamReader(File.OpenRead(@"StockPrices_small.csv")); + new StreamReader(File.OpenRead(@"StockPrices_Small.csv")); await stream.ReadLineAsync(); diff --git a/src/Linux/05/Start_Here/StockAnalyzer.Linux/MainWindow.xaml.cs b/src/Linux/05/Start_Here/StockAnalyzer.Linux/MainWindow.xaml.cs index d6540e9..da6bbd7 100644 --- a/src/Linux/05/Start_Here/StockAnalyzer.Linux/MainWindow.xaml.cs +++ b/src/Linux/05/Start_Here/StockAnalyzer.Linux/MainWindow.xaml.cs @@ -101,7 +101,7 @@ private Task> SearchForStocks(CancellationToken cancellationToken) { var lines = new List(); - using (var stream = new StreamReader(File.OpenRead(@"StockPrices_small.csv"))) + using (var stream = new StreamReader(File.OpenRead(@"StockPrices_Small.csv"))) { string line; while ((line = await stream.ReadLineAsync()) != null) diff --git a/src/MacOS/03/Completed/StockAnalyzer.MacOS/MainWindow.xaml.cs b/src/MacOS/03/Completed/StockAnalyzer.MacOS/MainWindow.xaml.cs index f9e1f3d..2516c62 100644 --- a/src/MacOS/03/Completed/StockAnalyzer.MacOS/MainWindow.xaml.cs +++ b/src/MacOS/03/Completed/StockAnalyzer.MacOS/MainWindow.xaml.cs @@ -407,7 +407,7 @@ private Task> SearchForStocks(CancellationToken cancellationToken) { var lines = new List(); - using (var stream = new StreamReader(File.OpenRead(@"StockPrices_small.csv"))) + using (var stream = new StreamReader(File.OpenRead(@"StockPrices_Small.csv"))) { string line; while ((line = await stream.ReadLineAsync()) != null) diff --git a/src/MacOS/03/Start_Here/StockAnalyzer.MacOS/MainWindow.xaml.cs b/src/MacOS/03/Start_Here/StockAnalyzer.MacOS/MainWindow.xaml.cs index 953d922..70ba439 100644 --- a/src/MacOS/03/Start_Here/StockAnalyzer.MacOS/MainWindow.xaml.cs +++ b/src/MacOS/03/Start_Here/StockAnalyzer.MacOS/MainWindow.xaml.cs @@ -71,7 +71,7 @@ private Task> SearchForStocks(CancellationToken cancellationToken) { var lines = new List(); - using (var stream = new StreamReader(File.OpenRead(@"StockPrices_small.csv"))) + using (var stream = new StreamReader(File.OpenRead(@"StockPrices_Small.csv"))) { string line; while ((line = await stream.ReadLineAsync()) != null) diff --git a/src/MacOS/04/Completed/StockAnalyzer.MacOS/MainWindow.xaml.cs b/src/MacOS/04/Completed/StockAnalyzer.MacOS/MainWindow.xaml.cs index 11bcf5e..f9dbd4e 100644 --- a/src/MacOS/04/Completed/StockAnalyzer.MacOS/MainWindow.xaml.cs +++ b/src/MacOS/04/Completed/StockAnalyzer.MacOS/MainWindow.xaml.cs @@ -451,7 +451,7 @@ private Task> SearchForStocks(CancellationToken cancellationToken) { var lines = new List(); - using (var stream = new StreamReader(File.OpenRead(@"StockPrices_small.csv"))) + using (var stream = new StreamReader(File.OpenRead(@"StockPrices_Small.csv"))) { string line; while ((line = await stream.ReadLineAsync()) != null) diff --git a/src/MacOS/04/Completed/StockAnalyzer.MacOS/Services/StockStreamService.cs b/src/MacOS/04/Completed/StockAnalyzer.MacOS/Services/StockStreamService.cs index ca84e73..365be75 100644 --- a/src/MacOS/04/Completed/StockAnalyzer.MacOS/Services/StockStreamService.cs +++ b/src/MacOS/04/Completed/StockAnalyzer.MacOS/Services/StockStreamService.cs @@ -37,7 +37,7 @@ public class StockDiskStreamService : IStockStreamService public async IAsyncEnumerable GetAllStockPrices(CancellationToken cancellationToken = default) { using var stream = - new StreamReader(File.OpenRead(@"StockPrices_small.csv")); + new StreamReader(File.OpenRead(@"StockPrices_Small.csv")); await stream.ReadLineAsync(); diff --git a/src/MacOS/04/Start_Here/StockAnalyzer.MacOS/MainWindow.xaml.cs b/src/MacOS/04/Start_Here/StockAnalyzer.MacOS/MainWindow.xaml.cs index 278f40d..88ad740 100644 --- a/src/MacOS/04/Start_Here/StockAnalyzer.MacOS/MainWindow.xaml.cs +++ b/src/MacOS/04/Start_Here/StockAnalyzer.MacOS/MainWindow.xaml.cs @@ -96,7 +96,7 @@ private Task> SearchForStocks(CancellationToken cancellationToken) { var lines = new List(); - using (var stream = new StreamReader(File.OpenRead(@"StockPrices_small.csv"))) + using (var stream = new StreamReader(File.OpenRead(@"StockPrices_Small.csv"))) { string line; while ((line = await stream.ReadLineAsync()) != null) diff --git a/src/MacOS/05/Completed/StockAnalyzer.MacOS/Services/StockStreamService.cs b/src/MacOS/05/Completed/StockAnalyzer.MacOS/Services/StockStreamService.cs index ca84e73..365be75 100644 --- a/src/MacOS/05/Completed/StockAnalyzer.MacOS/Services/StockStreamService.cs +++ b/src/MacOS/05/Completed/StockAnalyzer.MacOS/Services/StockStreamService.cs @@ -37,7 +37,7 @@ public class StockDiskStreamService : IStockStreamService public async IAsyncEnumerable GetAllStockPrices(CancellationToken cancellationToken = default) { using var stream = - new StreamReader(File.OpenRead(@"StockPrices_small.csv")); + new StreamReader(File.OpenRead(@"StockPrices_Small.csv")); await stream.ReadLineAsync(); diff --git a/src/MacOS/05/Start_Here/StockAnalyzer.MacOS/MainWindow.xaml.cs b/src/MacOS/05/Start_Here/StockAnalyzer.MacOS/MainWindow.xaml.cs index a2c3579..67052fc 100644 --- a/src/MacOS/05/Start_Here/StockAnalyzer.MacOS/MainWindow.xaml.cs +++ b/src/MacOS/05/Start_Here/StockAnalyzer.MacOS/MainWindow.xaml.cs @@ -101,7 +101,7 @@ private Task> SearchForStocks(CancellationToken cancellationToken) { var lines = new List(); - using (var stream = new StreamReader(File.OpenRead(@"StockPrices_small.csv"))) + using (var stream = new StreamReader(File.OpenRead(@"StockPrices_Small.csv"))) { string line; while ((line = await stream.ReadLineAsync()) != null) diff --git a/src/Windows/03/Completed/StockAnalyzer.Windows/MainWindow.xaml.cs b/src/Windows/03/Completed/StockAnalyzer.Windows/MainWindow.xaml.cs index 22a36ed..fc709d6 100644 --- a/src/Windows/03/Completed/StockAnalyzer.Windows/MainWindow.xaml.cs +++ b/src/Windows/03/Completed/StockAnalyzer.Windows/MainWindow.xaml.cs @@ -402,7 +402,7 @@ private Task> SearchForStocks(CancellationToken cancellationToken) { var lines = new List(); - using (var stream = new StreamReader(File.OpenRead(@"StockPrices_small.csv"))) + using (var stream = new StreamReader(File.OpenRead(@"StockPrices_Small.csv"))) { string line; while ((line = await stream.ReadLineAsync()) != null) diff --git a/src/Windows/03/Start_Here/StockAnalyzer.Windows/MainWindow.xaml.cs b/src/Windows/03/Start_Here/StockAnalyzer.Windows/MainWindow.xaml.cs index 88df1d3..88ae11f 100644 --- a/src/Windows/03/Start_Here/StockAnalyzer.Windows/MainWindow.xaml.cs +++ b/src/Windows/03/Start_Here/StockAnalyzer.Windows/MainWindow.xaml.cs @@ -74,7 +74,7 @@ private Task> SearchForStocks(CancellationToken cancellationToken) { var lines = new List(); - using (var stream = new StreamReader(File.OpenRead(@"StockPrices_small.csv"))) + using (var stream = new StreamReader(File.OpenRead(@"StockPrices_Small.csv"))) { string line; while ((line = await stream.ReadLineAsync()) != null) diff --git a/src/Windows/04/Completed/StockAnalyzer.Windows/MainWindow.xaml.cs b/src/Windows/04/Completed/StockAnalyzer.Windows/MainWindow.xaml.cs index c96349c..a5638e3 100644 --- a/src/Windows/04/Completed/StockAnalyzer.Windows/MainWindow.xaml.cs +++ b/src/Windows/04/Completed/StockAnalyzer.Windows/MainWindow.xaml.cs @@ -371,7 +371,7 @@ private Task> SearchForStocks(CancellationToken cancellationToken) { var lines = new List(); - using (var stream = new StreamReader(File.OpenRead(@"StockPrices_small.csv"))) + using (var stream = new StreamReader(File.OpenRead(@"StockPrices_Small.csv"))) { string line; while ((line = await stream.ReadLineAsync()) != null) diff --git a/src/Windows/04/Start_Here/StockAnalyzer.Windows/MainWindow.xaml.cs b/src/Windows/04/Start_Here/StockAnalyzer.Windows/MainWindow.xaml.cs index df06541..06e5eab 100644 --- a/src/Windows/04/Start_Here/StockAnalyzer.Windows/MainWindow.xaml.cs +++ b/src/Windows/04/Start_Here/StockAnalyzer.Windows/MainWindow.xaml.cs @@ -95,7 +95,7 @@ private Task> SearchForStocks(CancellationToken cancellationToken) { var lines = new List(); - using (var stream = new StreamReader(File.OpenRead(@"StockPrices_small.csv"))) + using (var stream = new StreamReader(File.OpenRead(@"StockPrices_Small.csv"))) { string line; while ((line = await stream.ReadLineAsync()) != null) diff --git a/src/Windows/05/Completed/StockAnalyzer.Windows.Core/Services/StockStreamService.cs b/src/Windows/05/Completed/StockAnalyzer.Windows.Core/Services/StockStreamService.cs index bd97883..07c8a76 100644 --- a/src/Windows/05/Completed/StockAnalyzer.Windows.Core/Services/StockStreamService.cs +++ b/src/Windows/05/Completed/StockAnalyzer.Windows.Core/Services/StockStreamService.cs @@ -37,7 +37,7 @@ public class StockDiskStreamService : IStockStreamService public async IAsyncEnumerable GetAllStockPrices(CancellationToken cancellationToken = default) { using var stream = - new StreamReader(File.OpenRead(@"StockPrices_small.csv")); + new StreamReader(File.OpenRead(@"StockPrices_Small.csv")); await stream.ReadLineAsync(); diff --git a/src/Windows/05/Start_Here/StockAnalyzer.Windows/MainWindow.xaml.cs b/src/Windows/05/Start_Here/StockAnalyzer.Windows/MainWindow.xaml.cs index 14d7cfa..8676951 100644 --- a/src/Windows/05/Start_Here/StockAnalyzer.Windows/MainWindow.xaml.cs +++ b/src/Windows/05/Start_Here/StockAnalyzer.Windows/MainWindow.xaml.cs @@ -101,7 +101,7 @@ private Task> SearchForStocks(CancellationToken cancellationToken) { var lines = new List(); - using (var stream = new StreamReader(File.OpenRead(@"StockPrices_small.csv"))) + using (var stream = new StreamReader(File.OpenRead(@"StockPrices_Small.csv"))) { string line; while ((line = await stream.ReadLineAsync()) != null)