Re: svn commit: r823313 - /ofbiz/trunk/framework/entityext/src/org/ofbiz/entityext/cache/EntityCacheServices.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r823313 - /ofbiz/trunk/framework/entityext/src/org/ofbiz/entityext/cache/EntityCacheServices.java

Scott Gray-2
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, [hidden email] 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;
>
>


smime.p7s (3K) Download Attachment