>
> if (env.queryParams && (env.queryParams.offset && env.queryParams.limit))
> {

 env.queryParams && should be removed since we should always have an empty
map. Otherwise it's easy for developers to get null pointer errors


-- 
With regards,
*Manu*ranga Perera.

phone : 071 7 70 20 50
mail : [email protected]
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to