Skip to content

Commit 7052fc2

Browse files
committed
clean up dead code
1 parent 219cd2c commit 7052fc2

20 files changed

Lines changed: 0 additions & 170 deletions

‎src/main/java/com/pubnub/api/endpoints/History.java‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -119,14 +119,6 @@ protected PNHistoryResult createResponse(Response<JsonNode> input) throws PubNub
119119
return historyData.build();
120120
}
121121

122-
protected int getConnectTimeout() {
123-
return this.getPubnub().getConfiguration().getConnectTimeout();
124-
}
125-
126-
protected int getRequestTimeout() {
127-
return this.getPubnub().getConfiguration().getNonSubscribeRequestTimeout();
128-
}
129-
130122
@Override
131123
protected PNOperationType getOperationType() {
132124
return PNOperationType.PNHistoryOperation;

‎src/main/java/com/pubnub/api/endpoints/Time.java‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,6 @@ protected final PNTimeResult createResponse(final Response<List<Long>> input) th
4848
return timeData.build();
4949
}
5050

51-
protected int getConnectTimeout() {
52-
return this.getPubnub().getConfiguration().getConnectTimeout();
53-
}
54-
55-
protected int getRequestTimeout() {
56-
return this.getPubnub().getConfiguration().getNonSubscribeRequestTimeout();
57-
}
58-
5951
@Override
6052
protected PNOperationType getOperationType() {
6153
return PNOperationType.PNTimeOperation;

‎src/main/java/com/pubnub/api/endpoints/access/Grant.java‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -167,14 +167,6 @@ protected PNAccessManagerGrantResult createResponse(Response<Envelope<AccessMana
167167
.build();
168168
}
169169

170-
protected int getConnectTimeout() {
171-
return this.getPubnub().getConfiguration().getConnectTimeout();
172-
}
173-
174-
protected int getRequestTimeout() {
175-
return this.getPubnub().getConfiguration().getNonSubscribeRequestTimeout();
176-
}
177-
178170
@Override
179171
protected PNOperationType getOperationType() {
180172
return PNOperationType.PNAccessManagerGrant;

‎src/main/java/com/pubnub/api/endpoints/channel_groups/AddChannelChannelGroup.java‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,6 @@ protected PNChannelGroupsAddChannelResult createResponse(Response<Envelope> inpu
6161
return PNChannelGroupsAddChannelResult.builder().build();
6262
}
6363

64-
protected int getConnectTimeout() {
65-
return this.getPubnub().getConfiguration().getConnectTimeout();
66-
}
67-
68-
protected int getRequestTimeout() {
69-
return this.getPubnub().getConfiguration().getNonSubscribeRequestTimeout();
70-
}
71-
7264
@Override
7365
protected PNOperationType getOperationType() {
7466
return PNOperationType.PNAddChannelsToGroupOperation;

‎src/main/java/com/pubnub/api/endpoints/channel_groups/AllChannelsChannelGroup.java‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,6 @@ protected PNChannelGroupsAllChannelsResult createResponse(Response<Envelope<Obje
5656
.build();
5757
}
5858

59-
protected int getConnectTimeout() {
60-
return this.getPubnub().getConfiguration().getConnectTimeout();
61-
}
62-
63-
protected int getRequestTimeout() {
64-
return this.getPubnub().getConfiguration().getNonSubscribeRequestTimeout();
65-
}
66-
6759
@Override
6860
protected PNOperationType getOperationType() {
6961
return PNOperationType.PNChannelsForGroupOperation;

‎src/main/java/com/pubnub/api/endpoints/channel_groups/DeleteChannelGroup.java‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,6 @@ protected PNChannelGroupsDeleteGroupResult createResponse(Response<Envelope> inp
4646
return PNChannelGroupsDeleteGroupResult.builder().build();
4747
}
4848

49-
protected int getConnectTimeout() {
50-
return this.getPubnub().getConfiguration().getConnectTimeout();
51-
}
52-
53-
protected int getRequestTimeout() {
54-
return this.getPubnub().getConfiguration().getNonSubscribeRequestTimeout();
55-
}
56-
5749
@Override
5850
protected PNOperationType getOperationType() {
5951
return PNOperationType.PNRemoveGroupOperation;

‎src/main/java/com/pubnub/api/endpoints/channel_groups/ListAllChannelGroup.java‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,6 @@ protected PNChannelGroupsListAllResult createResponse(Response<Envelope<Object>>
5151
.build();
5252
}
5353

54-
protected int getConnectTimeout() {
55-
return this.getPubnub().getConfiguration().getConnectTimeout();
56-
}
57-
58-
protected int getRequestTimeout() {
59-
return this.getPubnub().getConfiguration().getNonSubscribeRequestTimeout();
60-
}
61-
6254
@Override
6355
protected PNOperationType getOperationType() {
6456
return PNOperationType.PNChannelGroupsOperation;

‎src/main/java/com/pubnub/api/endpoints/channel_groups/RemoveChannelChannelGroup.java‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,6 @@ protected PNChannelGroupsRemoveChannelResult createResponse(Response<Envelope> i
6060
return PNChannelGroupsRemoveChannelResult.builder().build();
6161
}
6262

63-
protected int getConnectTimeout() {
64-
return this.getPubnub().getConfiguration().getConnectTimeout();
65-
}
66-
67-
protected int getRequestTimeout() {
68-
return this.getPubnub().getConfiguration().getNonSubscribeRequestTimeout();
69-
}
70-
7163
@Override
7264
protected PNOperationType getOperationType() {
7365
return PNOperationType.PNRemoveChannelsFromGroupOperation;

‎src/main/java/com/pubnub/api/endpoints/presence/GetState.java‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,6 @@ protected PNGetStateResult createResponse(final Response<Envelope<Object>> input
7474
return PNGetStateResult.builder().stateByUUID(stateMappings).build();
7575
}
7676

77-
protected int getConnectTimeout() {
78-
return this.getPubnub().getConfiguration().getConnectTimeout();
79-
}
80-
81-
protected int getRequestTimeout() {
82-
return this.getPubnub().getConfiguration().getNonSubscribeRequestTimeout();
83-
}
84-
8577
@Override
8678
protected PNOperationType getOperationType() {
8779
return PNOperationType.PNGetState;

‎src/main/java/com/pubnub/api/endpoints/presence/Heartbeat.java‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -86,14 +86,6 @@ protected Boolean createResponse(Response<Envelope> input) throws PubNubExceptio
8686
return true;
8787
}
8888

89-
protected int getConnectTimeout() {
90-
return this.getPubnub().getConfiguration().getConnectTimeout();
91-
}
92-
93-
protected int getRequestTimeout() {
94-
return this.getPubnub().getConfiguration().getNonSubscribeRequestTimeout();
95-
}
96-
9789
@Override
9890
protected PNOperationType getOperationType() {
9991
return PNOperationType.PNHeartbeatOperation;

0 commit comments

Comments
 (0)