I get an error in the following lines.
error: incompatible types required : java.util.Map.entry<java.lang.String,java.lang.String[]> found :java.lang.Object
full code below
package com.auth.actions; public class SocialAuthSuccessAction extends Action { final Log LOG = LogFactory.getLog(SocialAuthSuccessAction.class); @Override public ActionForward execute(final ActionMapping mapping, final ActionForm form, final HttpServletRequest request, final HttpServletResponse response) throws Exception { AuthForm authForm = (AuthForm) form; SocialAuthManager manager = null; if (authForm.getSocialAuthManager() != null) { manager = authForm.getSocialAuthManager(); } if (manager != null) { List<Contact> contactsList = new ArrayList<Contact>(); Profile profile = null; try { Map<String, String> paramsMap = new HashMap<String, String>(); for (Map.Entry<String, String[]> entry :request.getParameterMap().entrySet() ) {
Please, help
source share