@@ -149,7 +149,7 @@ public void stopIQConnect() {
149
149
}
150
150
151
151
/**
152
- * Starts the {@link Level1Feed} instance, or does nothing it it's already started.
152
+ * Starts the {@link Level1Feed} instance, or does nothing if it's already started.
153
153
*
154
154
* @throws IOException thrown for {@link IOException}s
155
155
* @throws InterruptedException thrown for {@link InterruptedException}s
@@ -159,7 +159,7 @@ public void startLevel1Feed() throws IOException, InterruptedException {
159
159
}
160
160
161
161
/**
162
- * Stops the {@link Level1Feed} instance, or does nothing it it's already stopped.
162
+ * Stops the {@link Level1Feed} instance, or does nothing if it's already stopped.
163
163
*
164
164
* @throws IOException thrown for {@link IOException}s
165
165
* @throws InterruptedException thrown for {@link InterruptedException}s
@@ -170,7 +170,7 @@ public void stopLevel1Feed() throws IOException, InterruptedException {
170
170
}
171
171
172
172
/**
173
- * Starts the {@link DerivativeFeed} instance, or does nothing it it's already started.
173
+ * Starts the {@link DerivativeFeed} instance, or does nothing if it's already started.
174
174
*
175
175
* @throws IOException thrown for {@link IOException}s
176
176
* @throws InterruptedException thrown for {@link InterruptedException}s
@@ -181,7 +181,7 @@ public void startDerivativeFeed() throws IOException, InterruptedException {
181
181
}
182
182
183
183
/**
184
- * Stops the {@link DerivativeFeed} instance, or does nothing it it's already stopped.
184
+ * Stops the {@link DerivativeFeed} instance, or does nothing if it's already stopped.
185
185
*
186
186
* @throws IOException thrown for {@link IOException}s
187
187
* @throws InterruptedException thrown for {@link InterruptedException}s
@@ -192,7 +192,7 @@ public void stopDerivativeFeed() throws IOException, InterruptedException {
192
192
}
193
193
194
194
/**
195
- * Starts the {@link AdminFeed} instance, or does nothing it it's already started.
195
+ * Starts the {@link AdminFeed} instance, or does nothing if it's already started.
196
196
*
197
197
* @throws IOException thrown for {@link IOException}s
198
198
* @throws InterruptedException thrown for {@link InterruptedException}s
@@ -202,7 +202,7 @@ public void startAdminFeed() throws IOException, InterruptedException {
202
202
}
203
203
204
204
/**
205
- * Stops the {@link AdminFeed} instance, or does nothing it it's already stopped.
205
+ * Stops the {@link AdminFeed} instance, or does nothing if it's already stopped.
206
206
*
207
207
* @throws IOException thrown for {@link IOException}s
208
208
* @throws InterruptedException thrown for {@link InterruptedException}s
@@ -213,7 +213,7 @@ public void stopAdminFeed() throws IOException, InterruptedException {
213
213
}
214
214
215
215
/**
216
- * Starts the {@link HistoricalFeed} instance, or does nothing it it's already started.
216
+ * Starts the {@link HistoricalFeed} instance, or does nothing if it's already started.
217
217
*
218
218
* @throws IOException thrown for {@link IOException}s
219
219
* @throws InterruptedException thrown for {@link InterruptedException}s
@@ -223,7 +223,7 @@ public void startHistoricalFeed() throws IOException, InterruptedException {
223
223
}
224
224
225
225
/**
226
- * Stops the {@link HistoricalFeed} instance, or does nothing it it's already stopped.
226
+ * Stops the {@link HistoricalFeed} instance, or does nothing if it's already stopped.
227
227
*
228
228
* @throws IOException thrown for {@link IOException}s
229
229
* @throws InterruptedException thrown for {@link InterruptedException}s
@@ -234,7 +234,7 @@ public void stopHistoricalFeed() throws IOException, InterruptedException {
234
234
}
235
235
236
236
/**
237
- * Starts the {@link MarketSummaryFeed} instance, or does nothing it it's already started.
237
+ * Starts the {@link MarketSummaryFeed} instance, or does nothing if it's already started.
238
238
*
239
239
* @throws IOException thrown for {@link IOException}s
240
240
* @throws InterruptedException thrown for {@link InterruptedException}s
@@ -245,7 +245,7 @@ public void startMarketSummaryFeed() throws IOException, InterruptedException {
245
245
}
246
246
247
247
/**
248
- * Stops the {@link MarketSummaryFeed} instance, or does nothing it it's already stopped.
248
+ * Stops the {@link MarketSummaryFeed} instance, or does nothing if it's already stopped.
249
249
*
250
250
* @throws IOException thrown for {@link IOException}s
251
251
* @throws InterruptedException thrown for {@link InterruptedException}s
@@ -256,7 +256,7 @@ public void stopMarketSummaryFeed() throws IOException, InterruptedException {
256
256
}
257
257
258
258
/**
259
- * Starts the {@link NewsFeed} instance, or does nothing it it's already started.
259
+ * Starts the {@link NewsFeed} instance, or does nothing if it's already started.
260
260
*
261
261
* @throws IOException thrown for {@link IOException}s
262
262
* @throws InterruptedException thrown for {@link InterruptedException}s
@@ -266,7 +266,7 @@ public void startNewsFeed() throws IOException, InterruptedException {
266
266
}
267
267
268
268
/**
269
- * Stops the {@link NewsFeed} instance, or does nothing it it's already stopped.
269
+ * Stops the {@link NewsFeed} instance, or does nothing if it's already stopped.
270
270
*
271
271
* @throws IOException thrown for {@link IOException}s
272
272
* @throws InterruptedException thrown for {@link InterruptedException}s
@@ -277,7 +277,7 @@ public void stopNewsFeed() throws IOException, InterruptedException {
277
277
}
278
278
279
279
/**
280
- * Starts the {@link OptionChainsFeed} instance, or does nothing it it's already started.
280
+ * Starts the {@link OptionChainsFeed} instance, or does nothing if it's already started.
281
281
*
282
282
* @throws IOException thrown for {@link IOException}s
283
283
* @throws InterruptedException thrown for {@link InterruptedException}s
@@ -288,7 +288,7 @@ public void startOptionChainsFeed() throws IOException, InterruptedException {
288
288
}
289
289
290
290
/**
291
- * Stops the {@link OptionChainsFeed} instance, or does nothing it it's already stopped.
291
+ * Stops the {@link OptionChainsFeed} instance, or does nothing if it's already stopped.
292
292
*
293
293
* @throws IOException thrown for {@link IOException}s
294
294
* @throws InterruptedException thrown for {@link InterruptedException}s
@@ -299,7 +299,7 @@ public void stopOptionChainsFeed() throws IOException, InterruptedException {
299
299
}
300
300
301
301
/**
302
- * Starts the {@link SymbolMarketInfoFeed} instance, or does nothing it it's already started.
302
+ * Starts the {@link SymbolMarketInfoFeed} instance, or does nothing if it's already started.
303
303
*
304
304
* @throws IOException thrown for {@link IOException}s
305
305
* @throws InterruptedException thrown for {@link InterruptedException}s
@@ -310,7 +310,7 @@ public void startSymbolMarketInfoFeed() throws IOException, InterruptedException
310
310
}
311
311
312
312
/**
313
- * Stops the {@link SymbolMarketInfoFeed} instance, or does nothing it it's already stopped.
313
+ * Stops the {@link SymbolMarketInfoFeed} instance, or does nothing if it's already stopped.
314
314
*
315
315
* @throws IOException thrown for {@link IOException}s
316
316
* @throws InterruptedException thrown for {@link InterruptedException}s
@@ -329,11 +329,9 @@ public void stopSymbolMarketInfoFeed() throws IOException, InterruptedException
329
329
*
330
330
* @return the started {@link AbstractFeed}
331
331
*
332
- * @throws IOException thrown for {@link IOException}s
333
- * @throws InterruptedException thrown for {@link InterruptedException}s
332
+ * @throws IOException thrown for {@link IOException}s
334
333
*/
335
- private <F extends AbstractFeed > F startFeed (F feed , Supplier <F > feedInstantiator )
336
- throws IOException , InterruptedException {
334
+ private <F extends AbstractFeed > F startFeed (F feed , Supplier <F > feedInstantiator ) throws IOException {
337
335
if (feed == null ) {
338
336
feed = feedInstantiator .get ();
339
337
feed .start ();
@@ -352,10 +350,9 @@ private <F extends AbstractFeed> F startFeed(F feed, Supplier<F> feedInstantiato
352
350
* @param <F> the {@link AbstractFeed} type parameter
353
351
* @param feed the {@link AbstractFeed}
354
352
*
355
- * @throws IOException thrown for {@link IOException}s
356
- * @throws InterruptedException thrown for {@link InterruptedException}s
353
+ * @throws IOException thrown for {@link IOException}s
357
354
*/
358
- private <F extends AbstractFeed > void stopFeed (F feed ) throws IOException , InterruptedException {
355
+ private <F extends AbstractFeed > void stopFeed (F feed ) throws IOException {
359
356
if (feed != null ) {
360
357
feed .stop ();
361
358
}
0 commit comments