Removed unused code

This commit is contained in:
priyeshmashelkar 2018-05-23 18:49:26 +01:00 committed by GitHub
parent d5177c158e
commit 5268c3e8c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,12 +13,4 @@ public class StockClient {
RequestHeadersSpec<?> request = client.get().uri("/rtes/stocks/"+stockCode).accept(MediaType.TEXT_EVENT_STREAM);
request.retrieve().bodyToFlux(Stock.class).toStream().forEach(System.out::println);
}
public static void main(String[] args) throws InterruptedException {
new StockClient().getStockUpdates("GOOGL");
while(true) {
Thread.sleep(1000L);
}
}
}