Skip to content

Commit 64e88b4

Browse files
committed
Change CloneFrom back to internal
1 parent 46e009b commit 64e88b4

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/Elasticsearch.Net/Domain/Response/ElasticsearchResponse.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,9 @@
1919

2020
namespace Elasticsearch.Net
2121
{
22-
//TODO document and possibly rename some of the properties
23-
2422
public static class ElasticsearchResponse
2523
{
26-
public static ElasticsearchResponse<TTo> CloneFrom<TTo>(IElasticsearchResponse from, TTo to)
24+
internal static ElasticsearchResponse<TTo> CloneFrom<TTo>(IElasticsearchResponse from, TTo to)
2725
{
2826
var response = new ElasticsearchResponse<TTo>(from.Settings)
2927
{
@@ -46,7 +44,6 @@ public static ElasticsearchResponse<TTo> CloneFrom<TTo>(IElasticsearchResponse f
4644
}
4745
}
4846

49-
5047
public class ElasticsearchResponse<T> : IElasticsearchResponse
5148
{
5249
private static readonly string _printFormat;

0 commit comments

Comments
 (0)