From b61511da810e184a588cb00583bf0bdf1ea97407 Mon Sep 17 00:00:00 2001 From: John Lewin Date: Fri, 2 Nov 2018 07:33:44 -0700 Subject: [PATCH] Simplify --- MatterControlLib/Library/Providers/LibraryConfig.cs | 5 +---- .../MatterControl/MatterControlUtilities.cs | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/MatterControlLib/Library/Providers/LibraryConfig.cs b/MatterControlLib/Library/Providers/LibraryConfig.cs index a3e2a82e5..ef3f0cca8 100644 --- a/MatterControlLib/Library/Providers/LibraryConfig.cs +++ b/MatterControlLib/Library/Providers/LibraryConfig.cs @@ -88,10 +88,7 @@ namespace MatterHackers.MatterControl.Library public ILibraryContainer ActiveContainer { - get - { - return activeContainer; - } + get => activeContainer; set { if (activeContainer == value) diff --git a/Tests/MatterControl.Tests/MatterControl/MatterControlUtilities.cs b/Tests/MatterControl.Tests/MatterControl/MatterControlUtilities.cs index 278a6578f..56c21f59e 100644 --- a/Tests/MatterControl.Tests/MatterControl/MatterControlUtilities.cs +++ b/Tests/MatterControl.Tests/MatterControl/MatterControlUtilities.cs @@ -128,7 +128,7 @@ namespace MatterHackers.MatterControl.Tests.Automation public static string PathToExportGcodeFolder { - get { return TestContext.CurrentContext.ResolveProjectPath(4, "Tests", "TestData", "ExportedGcode", runName); } + get => TestContext.CurrentContext.ResolveProjectPath(4, "Tests", "TestData", "ExportedGcode", runName); } public static string GetTestItemPath(string queueItemToLoad)