From 69ed3828420a6df1ca263fa230eb178d25557c88 Mon Sep 17 00:00:00 2001 From: Michael Krisper <michael.krisper@tugraz.at> Date: Mon, 8 Aug 2016 12:17:45 +0200 Subject: [PATCH] JSONInputDataFactory: made class static --- .../VectoCore/InputData/FileIO/JSON/JSONInputDataFactory.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/VectoCore/VectoCore/InputData/FileIO/JSON/JSONInputDataFactory.cs b/VectoCore/VectoCore/InputData/FileIO/JSON/JSONInputDataFactory.cs index 2a344f699a..c5bfc3d12a 100644 --- a/VectoCore/VectoCore/InputData/FileIO/JSON/JSONInputDataFactory.cs +++ b/VectoCore/VectoCore/InputData/FileIO/JSON/JSONInputDataFactory.cs @@ -29,18 +29,18 @@ * Martin Rexeis, rexeis@ivt.tugraz.at, IVT, Graz University of Technology */ -using System.IO; using Newtonsoft.Json; using Newtonsoft.Json.Linq; +using System.IO; using TUGraz.VectoCommon.Exceptions; using TUGraz.VectoCommon.InputData; namespace TUGraz.VectoCore.InputData.FileIO.JSON { // ReSharper disable once InconsistentNaming - public class JSONInputDataFactory + public static class JSONInputDataFactory { - protected internal static JObject ReadFile(string fileName) + internal static JObject ReadFile(string fileName) { if (!File.Exists(fileName)) { throw new FileNotFoundException("failed to load file: " + fileName, fileName); -- GitLab