You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by do...@apache.org on 2009/10/08 22:39:32 UTC
svn commit: r823313 -
/ofbiz/trunk/framework/entityext/src/org/ofbiz/entityext/cache/EntityCacheServices.java
Author: doogie
Date: Thu Oct 8 20:39:32 2009
New Revision: 823313
URL: http://svn.apache.org/viewvc?rev=823313&view=rev
Log:
Generics markup for service method signatures.
Modified:
ofbiz/trunk/framework/entityext/src/org/ofbiz/entityext/cache/EntityCacheServices.java
Modified: ofbiz/trunk/framework/entityext/src/org/ofbiz/entityext/cache/EntityCacheServices.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/entityext/src/org/ofbiz/entityext/cache/EntityCacheServices.java?rev=823313&r1=823312&r2=823313&view=diff
==============================================================================
--- ofbiz/trunk/framework/entityext/src/org/ofbiz/entityext/cache/EntityCacheServices.java (original)
+++ ofbiz/trunk/framework/entityext/src/org/ofbiz/entityext/cache/EntityCacheServices.java Thu Oct 8 20:39:32 2009
@@ -169,7 +169,7 @@
*@param context Map containing the input parameters
*@return Map with the result of the service, the output parameters
*/
- public static Map clearAllEntityCaches(DispatchContext dctx, Map context) {
+ public static Map<String, Object> clearAllEntityCaches(DispatchContext dctx, Map<String, ? extends Object> context) {
Delegator delegator = dctx.getDelegator();
Boolean distributeBool = (Boolean) context.get("distribute");
boolean distribute = false;
@@ -186,7 +186,7 @@
*@param context Map containing the input parameters
*@return Map with the result of the service, the output parameters
*/
- public static Map clearCacheLine(DispatchContext dctx, Map context) {
+ public static Map<String, Object> clearCacheLine(DispatchContext dctx, Map<String, ? extends Object> context) {
Delegator delegator = dctx.getDelegator();
Boolean distributeBool = (Boolean) context.get("distribute");
boolean distribute = false;
Re: svn commit: r823313 - /ofbiz/trunk/framework/entityext/src/org/ofbiz/entityext/cache/EntityCacheServices.java
Posted by Scott Gray <sc...@hotwaxmedia.com>.
Hi Adam,
No comment on the commit, but I've been meaning to ask: am I correct
in thinking that <? extends Object> is the same as <?>
Thanks
Scott
On 9/10/2009, at 9:39 AM, doogie@apache.org wrote:
> Author: doogie
> Date: Thu Oct 8 20:39:32 2009
> New Revision: 823313
>
> URL: http://svn.apache.org/viewvc?rev=823313&view=rev
> Log:
> Generics markup for service method signatures.
>
> Modified:
> ofbiz/trunk/framework/entityext/src/org/ofbiz/entityext/cache/
> EntityCacheServices.java
>
> Modified: ofbiz/trunk/framework/entityext/src/org/ofbiz/entityext/
> cache/EntityCacheServices.java
> URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/entityext/src/org/ofbiz/entityext/cache/EntityCacheServices.java?rev=823313&r1=823312&r2=823313&view=diff
> =
> =
> =
> =
> =
> =
> =
> =
> ======================================================================
> --- ofbiz/trunk/framework/entityext/src/org/ofbiz/entityext/cache/
> EntityCacheServices.java (original)
> +++ ofbiz/trunk/framework/entityext/src/org/ofbiz/entityext/cache/
> EntityCacheServices.java Thu Oct 8 20:39:32 2009
> @@ -169,7 +169,7 @@
> *@param context Map containing the input parameters
> *@return Map with the result of the service, the output
> parameters
> */
> - public static Map clearAllEntityCaches(DispatchContext dctx,
> Map context) {
> + public static Map<String, Object>
> clearAllEntityCaches(DispatchContext dctx, Map<String, ? extends
> Object> context) {
> Delegator delegator = dctx.getDelegator();
> Boolean distributeBool = (Boolean) context.get("distribute");
> boolean distribute = false;
> @@ -186,7 +186,7 @@
> *@param context Map containing the input parameters
> *@return Map with the result of the service, the output
> parameters
> */
> - public static Map clearCacheLine(DispatchContext dctx, Map
> context) {
> + public static Map<String, Object>
> clearCacheLine(DispatchContext dctx, Map<String, ? extends Object>
> context) {
> Delegator delegator = dctx.getDelegator();
> Boolean distributeBool = (Boolean) context.get("distribute");
> boolean distribute = false;
>
>