Source:
<code>public void init() { addParameter("name", name); addParameter("context", context); addParameter("endpoint_config", endpoint.toString()); addParameter("provider", getProvider()); addParameter("visibility", getVisibility()); addParameter("version", getVersion()); addParameter("description", getDescription()); addParameter("endpointType", getEndpointType()); if (getEndpointType().equals("secured")) { addParameter("epUsername", epUsername); addParameter("epPassword", epPassword); } addParameter("http_checked", getHttp_checked()); addParameter("https_checked", getHttps_checked()); addParameter("tags", getTags()); addParameter("tier", getTier()); addParameter("thumbUrl", getThumbUrl()); addParameter("tiersCollection", getTiersCollection()); if (resourceBeanList.size() < 2) { addParameter("resourceCount", "0"); } else { addParameter("resourceCount", resourceBeanList.size() + ""); } int resourceIndex = 0; for (APIResourceBean apiResourceBean : resourceBeanList) { addParameter("resourceMethod-" + resourceIndex, apiResourceBean.getResourceMethod()); addParameter("resourceMethodAuthType-" + resourceIndex, apiResourceBean.getResourceMethodAuthType()); addParameter("resourceMethodThrottlingTier-" + resourceIndex, apiResourceBean.getResourceMethodThrottlingTier()); addParameter("uriTemplate-" + resourceIndex, apiResourceBean.getUriTemplate()); <START> <END> resourceIndex++; } addParameter("default_version", getDefault_version()); addParameter("default_version_checked", getDefault_version_checked()); if (roles.length() > 1) { addParameter("roles", getRoles()); } if (wsdl.length() > 1) { addParameter("wsdl", getWsdl()); } if (sandbox.length() > 1) { addParameter("sandbox", getSandbox()); } }</code><technical_language>/n lines in-between statements. reduce one. Need fix in places.</technical_language>

Target:
public void init() { addParameter("name", name); addParameter("context", context); addParameter("endpoint_config", endpoint.toString()); addParameter("provider", provider); addParameter("visibility", visibility); addParameter("version", version); addParameter("description", description); addParameter("endpointType", endpointType); if (getEndpointType().equals("secured")) { addParameter("epUsername", epUsername); addParameter("epPassword", epPassword); } addParameter("http_checked", getHttpChecked()); addParameter("https_checked", getHttpsChecked()); addParameter("tags", getTags()); addParameter("tier", getTier()); addParameter("thumbUrl", getThumbUrl()); addParameter("tiersCollection", getTiersCollection()); if (resourceBeanList.size() < 2) { addParameter("resourceCount", "0"); } else { addParameter("resourceCount", resourceBeanList.size() + ""); } if (!(inSequence.equals("none") && outSequence.equals("none") && faultSequence.equals("none"))) { addParameter("sequence_check", "on"); } addParameter("inSequence", inSequence); addParameter("outSequence", outSequence); addParameter("faultSequence", faultSequence); int resourceIndex = 0; for (APIResourceBean apiResourceBean : resourceBeanList) { addParameter("resourceMethod-" + resourceIndex, apiResourceBean.getResourceMethod()); addParameter("resourceMethodAuthType-" + resourceIndex, apiResourceBean.getResourceMethodAuthType()); addParameter("resourceMethodThrottlingTier-" + resourceIndex, apiResourceBean.getResourceMethodThrottlingTier()); addParameter("uriTemplate-" + resourceIndex, apiResourceBean.getUriTemplate()); resourceIndex++; } addParameter("default_version", getDefaultVersion()); addParameter("default_version_checked", getDefaultVersionChecked()); if (roles.length() > 1) { addParameter("roles", getRoles()); } if (wsdl.length() > 1) { addParameter("wsdl", getWsdl()); } if (sandbox.length() > 1) { addParameter("sandbox", getSandbox()); } }