Skip to content

Commit 3b69aef

Browse files
authored
Rename endpointConfiguration to endpoints (#242)
* rename * checkstyle
1 parent a531075 commit 3b69aef

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

bugsnag/src/main/java/com/bugsnag/Configuration.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public class Configuration {
3535
public String appType;
3636
public String appVersion;
3737
public Delivery delivery;
38-
public EndpointConfiguration endpointConfiguration;
38+
public EndpointConfiguration endpoints;
3939
public Delivery sessionDelivery;
4040
public String[] redactedKeys = new String[] {"password", "secret", "Authorization", "Cookie"};
4141
public String[] discardClasses;
@@ -56,10 +56,10 @@ public class Configuration {
5656
addCallback(new DeviceCallback());
5757
DeviceCallback.initializeCache();
5858

59-
endpointConfiguration = EndpointConfiguration.fromApiKey(apiKey);
59+
endpoints = EndpointConfiguration.fromApiKey(apiKey);
6060

61-
this.delivery = new AsyncHttpDelivery(endpointConfiguration.getNotifyEndpoint());
62-
this.sessionDelivery = new AsyncHttpDelivery(endpointConfiguration.getSessionEndpoint());
61+
this.delivery = new AsyncHttpDelivery(endpoints.getNotifyEndpoint());
62+
this.sessionDelivery = new AsyncHttpDelivery(endpoints.getSessionEndpoint());
6363

6464
if (JakartaServletCallback.isAvailable()) {
6565
addCallback(new JakartaServletCallback());

0 commit comments

Comments
 (0)