incubator-stonehenge-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shan...@apache.org
Subject svn commit: r768178 - /incubator/stonehenge/trunk/stocktrader/wsas/business_service/src/org/apache/stonehenge/stocktrader/services/TradeServiceImpl.java
Date Fri, 24 Apr 2009 06:42:20 GMT
Author: shankar
Date: Fri Apr 24 06:42:20 2009
New Revision: 768178

URL: http://svn.apache.org/viewvc?rev=768178&view=rev
Log:
Applying patch of STONEHENGE-32

Modified:
    incubator/stonehenge/trunk/stocktrader/wsas/business_service/src/org/apache/stonehenge/stocktrader/services/TradeServiceImpl.java

Modified: incubator/stonehenge/trunk/stocktrader/wsas/business_service/src/org/apache/stonehenge/stocktrader/services/TradeServiceImpl.java
URL: http://svn.apache.org/viewvc/incubator/stonehenge/trunk/stocktrader/wsas/business_service/src/org/apache/stonehenge/stocktrader/services/TradeServiceImpl.java?rev=768178&r1=768177&r2=768178&view=diff
==============================================================================
--- incubator/stonehenge/trunk/stocktrader/wsas/business_service/src/org/apache/stonehenge/stocktrader/services/TradeServiceImpl.java
(original)
+++ incubator/stonehenge/trunk/stocktrader/wsas/business_service/src/org/apache/stonehenge/stocktrader/services/TradeServiceImpl.java
Fri Apr 24 06:42:20 2009
@@ -156,7 +156,7 @@
 		}
 		GetHoldingsResponse response = new GetHoldingsResponse();
 		ArrayOfHoldingDataBean param = new ArrayOfHoldingDataBean();
-		param.setHoldingDataBean(toArray(holdingBeans));
+		param.setHoldingDataBean(toHoldingsArray(holdingBeans));
 		response.setGetHoldingsReturn(param);
 		return response;
 	}
@@ -314,7 +314,7 @@
 		return (OrderDataBean[]) orders.toArray(arrayOfOrders);
 	}
 
-	private HoldingDataBean[] toArray(List<CustomHoldingBean> holdings) {
+	private HoldingDataBean[] toHoldingsArray(List<CustomHoldingBean> holdings) {
 		HoldingDataBean[] arrayOfHoldings = new HoldingDataBean[holdings.size()];
 		return (HoldingDataBean[]) holdings.toArray(arrayOfHoldings);
 	}



Mime
View raw message