diff --git a/GBase/GBaseTable.cs b/GBase/GBaseTable.cs index 5d8cfb9..2c2ba1a 100644 --- a/GBase/GBaseTable.cs +++ b/GBase/GBaseTable.cs @@ -76,7 +76,7 @@ namespace GBase return lastEntry.Key; } - } + } /// @@ -87,7 +87,7 @@ namespace GBase /// /// A to cancel the asynchronous operation /// True if successful, false if not - public async Task Init(Type type, string databasePath, string folderName, CancellationToken cancellationToken) //TODO: Remove bool return value? + public async Task Init(Type type, string databasePath, string folderName, CancellationToken cancellationToken) { Type = type; FolderName = folderName; @@ -107,7 +107,7 @@ namespace GBase List files = _fileHandler.Init(databasePath, FolderName, cancellationToken); if (files == null) - return true; + return; foreach (var file in files) //create entries for existing files { @@ -143,8 +143,6 @@ namespace GBase Entries.Add(entry); } } - - return true; } /// diff --git a/GBase/Interfaces/IGBaseTable.cs b/GBase/Interfaces/IGBaseTable.cs index 505cd0f..fc73f9e 100644 --- a/GBase/Interfaces/IGBaseTable.cs +++ b/GBase/Interfaces/IGBaseTable.cs @@ -70,7 +70,7 @@ namespace GBase.Interfaces /// A to cancel the asynchronous operation /// /// /// True if successful, false if not - Task Init(Type type, string databasePath, string folderName, CancellationToken cancellationToken); + Task Init(Type type, string databasePath, string folderName, CancellationToken cancellationToken); /// /// Add a given to this