Remove empty constructors
This commit is contained in:
parent
f63e060ac4
commit
f93a016be1
|
@ -212,10 +212,6 @@ namespace NzbDrone.Core.Test.Messaging.Commands
|
|||
|
||||
public class CommandB : Command
|
||||
{
|
||||
public CommandB()
|
||||
{
|
||||
}
|
||||
|
||||
public override string CompletionMessage => null;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,11 +1,8 @@
|
|||
using NzbDrone.Common.Messaging;
|
||||
using NzbDrone.Common.Messaging;
|
||||
|
||||
namespace NzbDrone.Core.Download
|
||||
{
|
||||
public class DownloadsProcessedEvent : IEvent
|
||||
{
|
||||
public DownloadsProcessedEvent()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -7,9 +7,6 @@ namespace NzbDrone.Core.Extras.Metadata.Consumers.Plex
|
|||
{
|
||||
public class PlexMetadataSettingsValidator : AbstractValidator<PlexMetadataSettings>
|
||||
{
|
||||
public PlexMetadataSettingsValidator()
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
public class PlexMetadataSettings : IProviderConfig
|
||||
|
|
|
@ -7,9 +7,6 @@ namespace NzbDrone.Core.Extras.Metadata.Consumers.Roksbox
|
|||
{
|
||||
public class RoksboxSettingsValidator : AbstractValidator<RoksboxMetadataSettings>
|
||||
{
|
||||
public RoksboxSettingsValidator()
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
public class RoksboxMetadataSettings : IProviderConfig
|
||||
|
|
|
@ -7,9 +7,6 @@ namespace NzbDrone.Core.Extras.Metadata.Consumers.Wdtv
|
|||
{
|
||||
public class WdtvSettingsValidator : AbstractValidator<WdtvMetadataSettings>
|
||||
{
|
||||
public WdtvSettingsValidator()
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
public class WdtvMetadataSettings : IProviderConfig
|
||||
|
|
|
@ -7,9 +7,6 @@ namespace NzbDrone.Core.Extras.Metadata.Consumers.Xbmc
|
|||
{
|
||||
public class XbmcSettingsValidator : AbstractValidator<XbmcMetadataSettings>
|
||||
{
|
||||
public XbmcSettingsValidator()
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
public class XbmcMetadataSettings : IProviderConfig
|
||||
|
|
|
@ -18,10 +18,6 @@ namespace NzbDrone.Core.ImportLists.Imdb
|
|||
{
|
||||
private static readonly ImdbSettingsValidator Validator = new ImdbSettingsValidator();
|
||||
|
||||
public ImdbListSettings()
|
||||
{
|
||||
}
|
||||
|
||||
public string BaseUrl { get; set; }
|
||||
|
||||
[FieldDefinition(1, Label = "List ID", HelpText = "IMDb list ID (e.g ls12345678)")]
|
||||
|
|
|
@ -11,10 +11,6 @@ namespace NzbDrone.Core.ImportLists.Simkl
|
|||
{
|
||||
private ImportListResponse _importResponse;
|
||||
|
||||
public SimklParser()
|
||||
{
|
||||
}
|
||||
|
||||
public virtual IList<ImportListItemInfo> ParseResponse(ImportListResponse importResponse)
|
||||
{
|
||||
_importResponse = importResponse;
|
||||
|
|
|
@ -10,10 +10,6 @@ namespace NzbDrone.Core.ImportLists.Simkl.User
|
|||
|
||||
public string ClientId { get; set; }
|
||||
|
||||
public SimklUserRequestGenerator()
|
||||
{
|
||||
}
|
||||
|
||||
public virtual ImportListPageableRequestChain GetListItems()
|
||||
{
|
||||
var pageableRequests = new ImportListPageableRequestChain();
|
||||
|
|
|
@ -9,10 +9,6 @@ namespace NzbDrone.Core.ImportLists.Trakt.List
|
|||
public TraktListSettings Settings { get; set; }
|
||||
public string ClientId { get; set; }
|
||||
|
||||
public TraktListRequestGenerator()
|
||||
{
|
||||
}
|
||||
|
||||
public virtual ImportListPageableRequestChain GetListItems()
|
||||
{
|
||||
var pageableRequests = new ImportListPageableRequestChain();
|
||||
|
|
|
@ -17,10 +17,6 @@ namespace NzbDrone.Core.ImportLists.Trakt.List
|
|||
{
|
||||
protected override AbstractValidator<TraktListSettings> Validator => new TraktListSettingsValidator();
|
||||
|
||||
public TraktListSettings()
|
||||
{
|
||||
}
|
||||
|
||||
[FieldDefinition(1, Label = "Username", HelpText = "Username for the List to import from")]
|
||||
public string Username { get; set; }
|
||||
|
||||
|
|
|
@ -10,10 +10,6 @@ namespace NzbDrone.Core.ImportLists.Trakt.Popular
|
|||
|
||||
public string ClientId { get; set; }
|
||||
|
||||
public TraktPopularRequestGenerator()
|
||||
{
|
||||
}
|
||||
|
||||
public virtual ImportListPageableRequestChain GetListItems()
|
||||
{
|
||||
var pageableRequests = new ImportListPageableRequestChain();
|
||||
|
|
|
@ -11,10 +11,6 @@ namespace NzbDrone.Core.ImportLists.Trakt
|
|||
{
|
||||
private ImportListResponse _importResponse;
|
||||
|
||||
public TraktParser()
|
||||
{
|
||||
}
|
||||
|
||||
public virtual IList<ImportListItemInfo> ParseResponse(ImportListResponse importResponse)
|
||||
{
|
||||
_importResponse = importResponse;
|
||||
|
|
|
@ -10,10 +10,6 @@ namespace NzbDrone.Core.ImportLists.Trakt.User
|
|||
|
||||
public string ClientId { get; set; }
|
||||
|
||||
public TraktUserRequestGenerator()
|
||||
{
|
||||
}
|
||||
|
||||
public virtual ImportListPageableRequestChain GetListItems()
|
||||
{
|
||||
var pageableRequests = new ImportListPageableRequestChain();
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using FluentValidation;
|
||||
using FluentValidation;
|
||||
using NzbDrone.Core.Annotations;
|
||||
using NzbDrone.Core.ThingiProvider;
|
||||
using NzbDrone.Core.Validation;
|
||||
|
@ -7,9 +7,6 @@ namespace NzbDrone.Core.Notifications.Synology
|
|||
{
|
||||
public class SynologyIndexerSettingsValidator : AbstractValidator<SynologyIndexerSettings>
|
||||
{
|
||||
public SynologyIndexerSettingsValidator()
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
public class SynologyIndexerSettings : IProviderConfig
|
||||
|
|
|
@ -5,10 +5,6 @@ namespace NzbDrone.Http
|
|||
{
|
||||
public class ApiInfoController : Controller
|
||||
{
|
||||
public ApiInfoController()
|
||||
{
|
||||
}
|
||||
|
||||
[HttpGet("/api")]
|
||||
[Produces("application/json")]
|
||||
public object GetApiInfo()
|
||||
|
|
Loading…
Reference in New Issue