Skip to content

Commit 8fc3514

Browse files
authored
chore: Removed the apiKey instance variable as it wasn't being used (#542)
1 parent 1b2a55e commit 8fc3514

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/main/java/com/sendgrid/SendGrid.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@ public class SendGrid implements SendGridAPI {
2020

2121
private ExecutorService pool;
2222

23-
/** The user's API key. */
24-
private String apiKey;
25-
2623
/** The Twilio SendGrid host to which to connect. */
2724
private String host;
2825

@@ -78,7 +75,6 @@ public SendGrid(String apiKey, Client client) {
7875
* @param apiKey the user's API key.
7976
*/
8077
public void initializeSendGrid(String apiKey) {
81-
this.apiKey = apiKey;
8278
this.host = "api.sendgrid.com";
8379
this.version = "v3";
8480
this.requestHeaders = new HashMap<String, String>();

0 commit comments

Comments
 (0)