Skip to content
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

Remove overlapping method overloads #1424

Merged
merged 1 commit into from
Dec 12, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions src/Stripe.net/Infrastructure/Public/Mapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@ public static List<T> MapCollectionFromJson(StripeResponse stripeResponse, strin
return MapCollectionFromJson(stripeResponse.ResponseJson, token, stripeResponse);
}

public static T MapFromJson(string json)
{
return MapFromJson(json, null, null);
}

// the ResponseJson on a list method is the entire list (as json) returned from stripe.
// the ObjectJson is so we can store only the json for a single object in the list on that entity for
// logging and/or debugging
Expand Down
2 changes: 1 addition & 1 deletion src/Stripe.net/Services/Topups/TopupService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public TopupService()
{
}

public TopupService(string apiKey = null)
public TopupService(string apiKey)
: base(apiKey)
{
}
Expand Down