1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-05 02:22:31 +01:00

removed old TODOs.

This commit is contained in:
Keivan Beigi 2013-07-08 17:47:28 -07:00
parent 34f3ee6b4b
commit e1488229fe
6 changed files with 3 additions and 8 deletions

View File

@ -1,7 +1,6 @@
using System;
using System.Collections.Generic;
using NzbDrone.Api.REST;
using NzbDrone.Core.Model;
using NzbDrone.Core.Tv;
namespace NzbDrone.Api.Series

View File

@ -16,10 +16,12 @@ public interface IAppFolderInfo
public class AppFolderInfo : IAppFolderInfo
{
private readonly IDiskProvider _diskProvider;
private readonly Logger _logger;
public AppFolderInfo(IDiskProvider diskProvider)
{
_diskProvider = diskProvider;
_logger = LogManager.GetCurrentClassLogger();
AppDataFolder = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData, Environment.SpecialFolderOption.DoNotVerify), "NzbDrone");
StartUpFolder = new FileInfo(Assembly.GetExecutingAssembly().Location).Directory.FullName;
TempFolder = Path.GetTempPath();
@ -54,7 +56,7 @@ private void SetPermissions()
}
catch (Exception ex)
{
//Todo: Add logging
_logger.WarnException("Coudn't set app folder permission", ex);
}
}

View File

@ -40,9 +40,6 @@ namespace NzbDrone.Core.Datastore
private readonly IDatabase _database;
private readonly IMessageAggregator _messageAggregator;
//TODO: add assertion to make sure model properly mapped
private IDataMapper DataMapper
{
get { return _database.DataMapper; }

View File

@ -2,7 +2,6 @@ namespace NzbDrone.Core.IndexerSearch.Definitions
{
public class SingleEpisodeSearchCriteria : SearchCriteriaBase
{
//TODO make sure these are populated with scene if required
public int EpisodeNumber { get; set; }
public int SeasonNumber { get; set; }

View File

@ -95,7 +95,6 @@ private List<Episode> GetEpisodes(ParsedEpisodeInfo parsedEpisodeInfo, Series se
{
if (series.SeriesType == SeriesTypes.Standard)
{
//Todo: Collect this as a Series we want to treat as a daily series, or possible parsing error
_logger.Warn("Found daily-style episode for non-daily series: {0}.", series);
return new List<Episode>();
}

View File

@ -43,7 +43,6 @@ public void Terminate()
}
}
//TODO:Should be able to restart service if anything beyond this point fails
_logger.Info("Killing all running processes");
if (_processProvider.GetProcessByName(ProcessProvider.NzbDroneConsoleProcessName).Any())