mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-04-24 05:47:22 -04:00
Remove empty constructors
This commit is contained in:
parent
eb96fbe956
commit
795274e7e1
11 changed files with 2 additions and 50 deletions
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.Threading;
|
||||
using Moq;
|
||||
using NUnit.Framework;
|
||||
|
@ -210,10 +210,6 @@ namespace NzbDrone.Core.Test.Messaging.Commands
|
|||
|
||||
public class CommandB : Command
|
||||
{
|
||||
public CommandB()
|
||||
{
|
||||
}
|
||||
|
||||
public override string CompletionMessage => null;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -73,10 +73,6 @@ namespace NzbDrone.Core.Indexers.Definitions
|
|||
public BeyondHDSettings Settings { get; set; }
|
||||
public IndexerCapabilities Capabilities { get; set; }
|
||||
|
||||
public BeyondHDRequestGenerator()
|
||||
{
|
||||
}
|
||||
|
||||
private IEnumerable<IndexerRequest> GetPagedRequests(string term, int[] categories, string imdbId = null, int tmdbId = 0)
|
||||
{
|
||||
var body = new Dictionary<string, object>
|
||||
|
@ -259,10 +255,6 @@ namespace NzbDrone.Core.Indexers.Definitions
|
|||
{
|
||||
private static readonly BeyondHDSettingsValidator Validator = new ();
|
||||
|
||||
public BeyondHDSettings()
|
||||
{
|
||||
}
|
||||
|
||||
[FieldDefinition(2, Label = "API Key", HelpText = "API Key from the Site (Found in My Security => API Key)", Privacy = PrivacyLevel.ApiKey)]
|
||||
public string ApiKey { get; set; }
|
||||
|
||||
|
|
|
@ -78,10 +78,6 @@ namespace NzbDrone.Core.Indexers.Definitions
|
|||
public IndexerCapabilities Capabilities { get; set; }
|
||||
public BinSearchSettings Settings { get; set; }
|
||||
|
||||
public BinSearchRequestGenerator()
|
||||
{
|
||||
}
|
||||
|
||||
private IEnumerable<IndexerRequest> GetPagedRequests(string term, SearchCriteriaBase searchCriteria)
|
||||
{
|
||||
var qc = new NameValueCollection
|
||||
|
|
|
@ -93,10 +93,6 @@ namespace NzbDrone.Core.Indexers.Definitions
|
|||
public CookieTorrentBaseSettings Settings { get; set; }
|
||||
public IndexerCapabilities Capabilities { get; set; }
|
||||
|
||||
public BitHDTVRequestGenerator()
|
||||
{
|
||||
}
|
||||
|
||||
private IEnumerable<IndexerRequest> GetPagedRequests(string term, int[] categories, string imdbId = null)
|
||||
{
|
||||
var searchUrl = string.Format("{0}/torrents.php", Settings.BaseUrl.TrimEnd('/'));
|
||||
|
|
|
@ -199,10 +199,6 @@ namespace NzbDrone.Core.Indexers.Definitions
|
|||
public IndexerCapabilities Capabilities { get; set; }
|
||||
public IIndexerHttpClient HttpClient { get; set; }
|
||||
|
||||
public GazelleGamesRequestGenerator()
|
||||
{
|
||||
}
|
||||
|
||||
public IndexerPageableRequestChain GetSearchRequests(MovieSearchCriteria searchCriteria)
|
||||
{
|
||||
var pageableRequests = new IndexerPageableRequestChain();
|
||||
|
|
|
@ -93,10 +93,6 @@ namespace NzbDrone.Core.Indexers.Definitions
|
|||
public IndexerCapabilities Capabilities { get; set; }
|
||||
public string BaseUrl { get; set; }
|
||||
|
||||
public SceneHDRequestGenerator()
|
||||
{
|
||||
}
|
||||
|
||||
private IEnumerable<IndexerRequest> GetPagedRequests(string term, int[] categories, string imdbId = null)
|
||||
{
|
||||
var search = new[] { imdbId, term };
|
||||
|
|
|
@ -74,10 +74,6 @@ namespace NzbDrone.Core.Indexers.Definitions
|
|||
public NoAuthTorrentBaseSettings Settings { get; set; }
|
||||
public IndexerCapabilities Capabilities { get; set; }
|
||||
|
||||
public ShizaprojectRequestGenerator()
|
||||
{
|
||||
}
|
||||
|
||||
private IEnumerable<IndexerRequest> GetPagedRequests(string term, int[] categories)
|
||||
{
|
||||
var variables = new
|
||||
|
|
|
@ -121,10 +121,6 @@ namespace NzbDrone.Core.Indexers.Definitions
|
|||
public TorrentSyndikatSettings Settings { get; set; }
|
||||
public IndexerCapabilities Capabilities { get; set; }
|
||||
|
||||
public TorrentSyndikatRequestGenerator()
|
||||
{
|
||||
}
|
||||
|
||||
private IEnumerable<IndexerRequest> GetPagedRequests(string term, int[] categories, string imdbId = null)
|
||||
{
|
||||
var searchString = term;
|
||||
|
|
|
@ -70,10 +70,6 @@ namespace NzbDrone.Core.Indexers.Definitions
|
|||
public NoAuthTorrentBaseSettings Settings { get; set; }
|
||||
public IndexerCapabilities Capabilities { get; set; }
|
||||
|
||||
public TorrentsCSVRequestGenerator()
|
||||
{
|
||||
}
|
||||
|
||||
private IEnumerable<IndexerRequest> GetPagedRequests(string term, int[] categories)
|
||||
{
|
||||
// search cannot be blank and needs at least 3 characters
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Specialized;
|
||||
using System.Text.RegularExpressions;
|
||||
|
@ -14,10 +14,6 @@ namespace NzbDrone.Core.Indexers.Definitions.Xthor
|
|||
public XthorSettings Settings { get; set; }
|
||||
public IndexerCapabilities Capabilities { get; set; }
|
||||
|
||||
public XthorRequestGenerator()
|
||||
{
|
||||
}
|
||||
|
||||
private IEnumerable<IndexerRequest> GetPagedRequests(string term,
|
||||
int[] categories,
|
||||
int pageNumber,
|
||||
|
|
|
@ -5,10 +5,6 @@ namespace Prowlarr.Http
|
|||
{
|
||||
public class ApiInfoController : Controller
|
||||
{
|
||||
public ApiInfoController()
|
||||
{
|
||||
}
|
||||
|
||||
[HttpGet("/api")]
|
||||
[Produces("application/json")]
|
||||
public ApiInfoResource GetApiInfo()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue