Skip to content

Code cleanup. Removed not used namespaces/using #1195

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Runtime.InteropServices;
using System.Text;
using System.Collections.Generic;

namespace CodeGeneration.LowLevelClient.Overrides.Allow404
{
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.Generic;

namespace CodeGeneration.LowLevelClient.Overrides.Descriptors
{
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.Generic;

namespace CodeGeneration.LowLevelClient.Overrides.Descriptors
{
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.Generic;

namespace CodeGeneration.LowLevelClient.Overrides.Descriptors
{
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.Generic;

namespace CodeGeneration.LowLevelClient.Overrides.Descriptors
{
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.Generic;

namespace CodeGeneration.LowLevelClient.Overrides.Descriptors
{
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.Generic;

namespace CodeGeneration.LowLevelClient.Overrides.Descriptors
{
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.Generic;

namespace CodeGeneration.LowLevelClient.Overrides.Descriptors
{
2 changes: 0 additions & 2 deletions src/CodeGeneration/CodeGeneration.LowLevelClient/Program.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CodeGeneration.LowLevelClient
{
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using System;
using System.Collections.Generic;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using CsQuery.ExtensionMethods.Internal;

Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Collections.Generic;

namespace CodeGeneration.YamlTestsRunner.Domain
{
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Collections.Generic;

namespace CodeGeneration.YamlTestsRunner.Domain
{
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Globalization;
using System.IO;
using System.Linq;
8 changes: 1 addition & 7 deletions src/CodeGeneration/CodeGeneration.YamlTestsRunner/Program.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CodeGeneration.YamlTestsRunner
namespace CodeGeneration.YamlTestsRunner
{
class Program
{
Original file line number Diff line number Diff line change
@@ -5,34 +5,28 @@
using System.Linq;
using System.Net;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using CodeGeneration.YamlTestsRunner.Domain;
using CsQuery;
using CsQuery.ExtensionMethods.Internal;
using FubuCore.Util;
using FubuCsProjFile;
using ShellProgressBar;
using Xipton.Razor;
using YamlDotNet;
using YamlDotNet.RepresentationModel;
using YamlDotNet.Serialization;

namespace CodeGeneration.YamlTestsRunner
{
using YamlTestSuite = Dictionary<string, object>;
public static class YamlTestsGenerator
{
private readonly static string _listingUrl = "https://github.com/elasticsearch/elasticsearch/tree/v1.3.2/rest-api-spec/test";
private readonly static string _rawUrlPrefix = "https://raw.github.com/elasticsearch/elasticsearch/v1.3.2/rest-api-spec/test/";
private readonly static string _testProjectFolder = @"..\..\..\..\..\src\Tests\Elasticsearch.Net.Integration.Yaml\";
private readonly static string _rawClientInterface = @"..\..\..\..\..\src\Elasticsearch.Net\IElasticsearchClient.generated.cs";
private readonly static string _viewFolder = @"..\..\Views\";
private readonly static string _cacheFolder = @"..\..\YamlCache\";
private static readonly RazorMachine _razorMachine;
{
private const string _listingUrl = "https://github.com/elasticsearch/elasticsearch/tree/v1.3.2/rest-api-spec/test";
private const string _rawUrlPrefix = "https://raw.github.com/elasticsearch/elasticsearch/v1.3.2/rest-api-spec/test/";
private const string _testProjectFolder = @"..\..\..\..\..\src\Tests\Elasticsearch.Net.Integration.Yaml\";
private const string _rawClientInterface = @"..\..\..\..\..\src\Elasticsearch.Net\IElasticsearchClient.generated.cs";
private const string _viewFolder = @"..\..\Views\";
private const string _cacheFolder = @"..\..\YamlCache\";
private static readonly RazorMachine _razorMachine;
private static readonly Assembly _assembly;
public static IEnumerable<string> RawElasticCalls;

Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@

namespace Elasticsearch.Net.Connection.Thrift.Transport
namespace Elasticsearch.Net.Connection.Thrift.Transport
{
public class TSocketSettings
{
3 changes: 0 additions & 3 deletions src/Elasticsearch.Net/Extensions/DateExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Elasticsearch.Net
{
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
using Elasticsearch.Net.Serialization;

namespace Elasticsearch.Net
3 changes: 0 additions & 3 deletions src/Elasticsearch.Net/Extensions/TypeExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Text;
using Elasticsearch.Net.Connection;

namespace Elasticsearch.Net
{
3 changes: 1 addition & 2 deletions src/Nest/ConvenienceExtensions/AliasExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using System.Collections.Generic;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

3 changes: 0 additions & 3 deletions src/Nest/ConvenienceExtensions/DeleteIndexExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Nest
5 changes: 1 addition & 4 deletions src/Nest/ConvenienceExtensions/SerializerExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.IO;
using System.Text;

namespace Nest.SerializationExtensions
5 changes: 1 addition & 4 deletions src/Nest/DSL/Aggregations/AverageAggregationDescriptor.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using Nest.Resolvers.Converters;
using Nest.Resolvers.Converters;
using Newtonsoft.Json;

namespace Nest
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System;
using System.Collections.Generic;
using System.Linq;

namespace Nest
{
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using Nest.Resolvers.Converters;
using Nest.Resolvers.Converters;
using Newtonsoft.Json;

namespace Nest
4 changes: 0 additions & 4 deletions src/Nest/DSL/Aggregations/ChildrenAggregationDescriptor.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
using Nest.Resolvers.Converters;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Nest
{
4 changes: 0 additions & 4 deletions src/Nest/DSL/Aggregations/GeoBoundsAggregationDescriptor.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
using Nest.Resolvers.Converters;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Nest
{
2 changes: 0 additions & 2 deletions src/Nest/DSL/Aggregations/GeoHashAggregationDescriptor.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using Nest.Resolvers.Converters;
using Newtonsoft.Json;
5 changes: 1 addition & 4 deletions src/Nest/DSL/Aggregations/MaxAggregationDescriptor.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using Nest.Resolvers.Converters;
using Nest.Resolvers.Converters;
using Newtonsoft.Json;

namespace Nest
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using Newtonsoft.Json;

5 changes: 1 addition & 4 deletions src/Nest/DSL/Aggregations/MinAggregationDescriptor.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using Nest.Resolvers.Converters;
using Nest.Resolvers.Converters;
using Newtonsoft.Json;

namespace Nest
1 change: 0 additions & 1 deletion src/Nest/DSL/Aggregations/MissingAggregationDescriptor.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using Nest.Resolvers.Converters;
using Newtonsoft.Json;
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
using Nest.Resolvers.Converters;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Nest
{
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
using Nest.Resolvers.Converters;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;

namespace Nest
{
Original file line number Diff line number Diff line change
@@ -2,8 +2,6 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Nest
{
5 changes: 1 addition & 4 deletions src/Nest/DSL/Aggregations/StatsAggregationDescriptor.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using Nest.Resolvers.Converters;
using Nest.Resolvers.Converters;
using Newtonsoft.Json;

namespace Nest
5 changes: 1 addition & 4 deletions src/Nest/DSL/Aggregations/SumAggregationDescriptor.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using Nest.Resolvers.Converters;
using Nest.Resolvers.Converters;
using Newtonsoft.Json;

namespace Nest
1 change: 0 additions & 1 deletion src/Nest/DSL/Aggregations/TopHitsAggregationDescriptor.cs
Original file line number Diff line number Diff line change
@@ -4,7 +4,6 @@
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;

namespace Nest
{
3 changes: 1 addition & 2 deletions src/Nest/DSL/Aggregations/ValueCountAggregationDescriptor.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Collections.Generic;
using Nest.Resolvers.Converters;
using Nest.Resolvers.Converters;
using Newtonsoft.Json;

namespace Nest
1 change: 0 additions & 1 deletion src/Nest/DSL/AliasDescriptor.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System;
using System.Collections.Generic;
using System.Linq;
using Elasticsearch.Net;
using Newtonsoft.Json;

5 changes: 1 addition & 4 deletions src/Nest/DSL/AliasExistsDescriptor.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using Elasticsearch.Net;
using Elasticsearch.Net;
using Newtonsoft.Json;

namespace Nest
Loading