Re: openamf/src/java/org/openamf/invoker PageableResultSetServiceInvoker.java,1.12,1.13

Adam Heath <[email protected]> Sat, 25 Mar 2006 17:31:12 -0600 (CST)
Newsgroups gmane.comp.java.openamf.cvs
Message-ID <[email protected]>
On Sat, 25 Mar 2006, Sean Sullivan wrote:

> Update of /cvsroot/openamf/openamf/src/java/org/openamf/invoker
> In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29495/src/java/org/openamf/invoker
>
> Modified Files:
> 	PageableResultSetServiceInvoker.java
> Log Message:
> improved ASRecordSet logic.
>
>
> Index: PageableResultSetServiceInvoker.java
> ===================================================================
> RCS file: /cvsroot/openamf/openamf/src/java/org/openamf/invoker/PageableResultSetServiceInvoker.java,v
> retrieving revision 1.12
> retrieving revision 1.13
> diff -C2 -d -r1.12 -r1.13
> *** PageableResultSetServiceInvoker.java	11 Sep 2004 16:40:50 -0000	1.12
> --- PageableResultSetServiceInvoker.java	25 Mar 2006 22:33:47 -0000	1.13
> ***************
> *** 46,52 ****
> --- 46,63 ----
>   	}
>
> + 	/**
> + 	 *
> + 	 *  @return a java.util.Map object
> + 	 *
> + 	 */
>   	private Object getRecords() {
>   		String rsId = (String)getRequest().getParameters().get(0);
>   		ASRecordSet recordSet = (ASRecordSet) getHttpServletRequest().getSession().getAttribute(rsId);
> +
> + 		if (recordSet == null)
> + 		{
> + 			return new java.util.HashMap();
> + 		}
> +

return java.util.Collections.EMPTY_MAP;


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642