Permalink
Browse files

Fix 'raw type' warnings. No significant API changes.

  • Loading branch information...
1 parent 2020d30 commit 6972ab8b69f91bc81df02725400b50672a9b6f63 @cbeams cbeams committed with dsyer Jul 29, 2010
@@ -55,7 +55,7 @@ public ServerHandler(ExecutionVenueService executionVenueService,
public TradeResponse handleMessage(TradeRequest tradeRequest)
{
TradeResponse tradeResponse;
- List errors = new ArrayList();
+ List<?> errors = new ArrayList<Object>();
if (creditCheckService.canExecute(tradeRequest, errors))
{
tradeResponse = executionVenueService.executeTradeRequest(tradeRequest);
@@ -28,5 +28,6 @@
*/
public interface CreditCheckService {
- boolean canExecute(TradeRequest tradeRequest, List errors);
+ boolean canExecute(TradeRequest tradeRequest, List<?> errors);
+
}
@@ -28,7 +28,7 @@
*/
public class CreditCheckServiceStub implements CreditCheckService {
- public boolean canExecute(TradeRequest tradeRequest, List errors) {
+ public boolean canExecute(TradeRequest tradeRequest, List<?> errors) {
return true;
}

0 comments on commit 6972ab8

Please sign in to comment.