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, [email protected] 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.javaModified: ofbiz/trunk/framework/entityext/src/org/ofbiz/entityext/ cache/EntityCacheServices.javaURL: 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;
smime.p7s
Description: S/MIME cryptographic signature
