Author: anil.saldhana(a)jboss.com
Date: 2010-11-09 11:44:46 -0500 (Tue, 09 Nov 2010)
New Revision: 547
Modified:
federation/trunk/picketlink-bindings-jboss/src/main/java/org/picketlink/identity/federation/bindings/jboss/auth/SecurityActions.java
federation/trunk/picketlink-bindings/src/test/java/org/picketlink/test/identity/federation/bindings/mock/MockCatalinaContext.java
federation/trunk/picketlink-bindings/src/test/java/org/picketlink/test/identity/federation/bindings/mock/MockCatalinaSession.java
federation/trunk/picketlink-bindings/src/test/java/org/picketlink/test/identity/federation/bindings/servlets/TestServletConfig.java
federation/trunk/picketlink-bindings/src/test/java/org/picketlink/test/identity/federation/bindings/servlets/TestServletContext.java
federation/trunk/picketlink-bindings/src/test/java/org/picketlink/test/identity/federation/bindings/servlets/TestServletRequest.java
federation/trunk/picketlink-fed-api/src/main/java/org/picketlink/identity/federation/api/openid/provider/OpenIDParameterList.java
federation/trunk/picketlink-fed-api/src/main/java/org/picketlink/identity/federation/api/saml/v2/sig/SAML2Signature.java
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/util/CoreConfigUtil.java
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/wstrust/WSTrustJAXBFactory.java
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/wstrust/WSTrustUtil.java
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/wstrust/auth/AbstractSTSLoginModule.java
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/wstrust/handlers/STSSecurityHandler.java
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/wstrust/plugins/saml/SAMLUtil.java
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/wstrust/wrappers/RequestSecurityToken.java
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/wstrust/wrappers/RequestSecurityTokenResponse.java
federation/trunk/picketlink-fed-core/src/test/java/org/picketlink/test/identity/federation/core/wstrust/PicketLinkSTSUnitTestCase.java
federation/trunk/picketlink-web/src/main/java/org/picketlink/identity/federation/web/core/IdentityServer.java
federation/trunk/picketlink-web/src/main/java/org/picketlink/identity/federation/web/servlets/saml/MetadataServlet.java
federation/trunk/picketlink-web/src/test/java/org/picketlink/test/identity/federation/web/mock/MockFilterConfig.java
federation/trunk/picketlink-web/src/test/java/org/picketlink/test/identity/federation/web/mock/MockHttpServletRequest.java
federation/trunk/picketlink-web/src/test/java/org/picketlink/test/identity/federation/web/mock/MockHttpSession.java
federation/trunk/picketlink-web/src/test/java/org/picketlink/test/identity/federation/web/mock/MockServletConfig.java
federation/trunk/picketlink-web/src/test/java/org/picketlink/test/identity/federation/web/mock/MockServletContext.java
Log:
fix unused imports, suppress warnings and remove dead code
Modified:
federation/trunk/picketlink-bindings/src/test/java/org/picketlink/test/identity/federation/bindings/mock/MockCatalinaContext.java
===================================================================
---
federation/trunk/picketlink-bindings/src/test/java/org/picketlink/test/identity/federation/bindings/mock/MockCatalinaContext.java 2010-11-09
14:37:52 UTC (rev 546)
+++
federation/trunk/picketlink-bindings/src/test/java/org/picketlink/test/identity/federation/bindings/mock/MockCatalinaContext.java 2010-11-09
16:44:46 UTC (rev 547)
@@ -69,7 +69,7 @@
* @author Anil.Saldhana(a)redhat.com
* @since Oct 20, 2009
*/
-@SuppressWarnings("unchecked")
+@SuppressWarnings({ "unchecked", "rawtypes"})
public class MockCatalinaContext
implements Context, Container, ServletContext
{
Modified:
federation/trunk/picketlink-bindings/src/test/java/org/picketlink/test/identity/federation/bindings/mock/MockCatalinaSession.java
===================================================================
---
federation/trunk/picketlink-bindings/src/test/java/org/picketlink/test/identity/federation/bindings/mock/MockCatalinaSession.java 2010-11-09
14:37:52 UTC (rev 546)
+++
federation/trunk/picketlink-bindings/src/test/java/org/picketlink/test/identity/federation/bindings/mock/MockCatalinaSession.java 2010-11-09
16:44:46 UTC (rev 547)
@@ -42,7 +42,7 @@
* @author Anil.Saldhana(a)redhat.com
* @since Oct 20, 2009
*/
-@SuppressWarnings({"deprecation", "unchecked"})
+@SuppressWarnings({"deprecation", "unchecked",
"rawtypes"})
public class MockCatalinaSession implements Session, HttpSession
{
private Map<String, Object> notes = new HashMap<String,Object>();
Modified:
federation/trunk/picketlink-bindings/src/test/java/org/picketlink/test/identity/federation/bindings/servlets/TestServletConfig.java
===================================================================
---
federation/trunk/picketlink-bindings/src/test/java/org/picketlink/test/identity/federation/bindings/servlets/TestServletConfig.java 2010-11-09
14:37:52 UTC (rev 546)
+++
federation/trunk/picketlink-bindings/src/test/java/org/picketlink/test/identity/federation/bindings/servlets/TestServletConfig.java 2010-11-09
16:44:46 UTC (rev 547)
@@ -27,11 +27,11 @@
import javax.servlet.ServletContext;
-@SuppressWarnings("unchecked")
/**
* @author Anil.Saldhana(a)redhat.com
* @since Jan 28, 2009
*/
+@SuppressWarnings({"rawtypes"})
public class TestServletConfig implements ServletConfig
{
private ServletContext sc;
Modified:
federation/trunk/picketlink-bindings/src/test/java/org/picketlink/test/identity/federation/bindings/servlets/TestServletContext.java
===================================================================
---
federation/trunk/picketlink-bindings/src/test/java/org/picketlink/test/identity/federation/bindings/servlets/TestServletContext.java 2010-11-09
14:37:52 UTC (rev 546)
+++
federation/trunk/picketlink-bindings/src/test/java/org/picketlink/test/identity/federation/bindings/servlets/TestServletContext.java 2010-11-09
16:44:46 UTC (rev 547)
@@ -33,12 +33,12 @@
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
-
-@SuppressWarnings("unchecked")
+
/**
* @author Anil.Saldhana(a)redhat.com
* @since Jan 28, 2009
*/
+@SuppressWarnings({ "rawtypes"})
public class TestServletContext implements ServletContext
{
private HashMap<String,String> params = new HashMap<String,String>();
Modified:
federation/trunk/picketlink-bindings/src/test/java/org/picketlink/test/identity/federation/bindings/servlets/TestServletRequest.java
===================================================================
---
federation/trunk/picketlink-bindings/src/test/java/org/picketlink/test/identity/federation/bindings/servlets/TestServletRequest.java 2010-11-09
14:37:52 UTC (rev 546)
+++
federation/trunk/picketlink-bindings/src/test/java/org/picketlink/test/identity/federation/bindings/servlets/TestServletRequest.java 2010-11-09
16:44:46 UTC (rev 547)
@@ -37,12 +37,12 @@
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
-
-@SuppressWarnings("unchecked")
+
/**
* @author Anil.Saldhana(a)redhat.com
* @since Jan 28, 2009
*/
+@SuppressWarnings({ "rawtypes"})
public class TestServletRequest implements HttpServletRequest
{
private BufferedInputStream is = null;
Modified:
federation/trunk/picketlink-bindings-jboss/src/main/java/org/picketlink/identity/federation/bindings/jboss/auth/SecurityActions.java
===================================================================
---
federation/trunk/picketlink-bindings-jboss/src/main/java/org/picketlink/identity/federation/bindings/jboss/auth/SecurityActions.java 2010-11-09
14:37:52 UTC (rev 546)
+++
federation/trunk/picketlink-bindings-jboss/src/main/java/org/picketlink/identity/federation/bindings/jboss/auth/SecurityActions.java 2010-11-09
16:44:46 UTC (rev 547)
@@ -36,7 +36,7 @@
*/
class SecurityActions
{
- @SuppressWarnings("unchecked")
+ @SuppressWarnings({"rawtypes", "unchecked"})
static SecurityContext createSecurityContext() throws PrivilegedActionException
{
return (SecurityContext) AccessController.doPrivileged(new
PrivilegedExceptionAction()
Modified:
federation/trunk/picketlink-fed-api/src/main/java/org/picketlink/identity/federation/api/openid/provider/OpenIDParameterList.java
===================================================================
---
federation/trunk/picketlink-fed-api/src/main/java/org/picketlink/identity/federation/api/openid/provider/OpenIDParameterList.java 2010-11-09
14:37:52 UTC (rev 546)
+++
federation/trunk/picketlink-fed-api/src/main/java/org/picketlink/identity/federation/api/openid/provider/OpenIDParameterList.java 2010-11-09
16:44:46 UTC (rev 547)
@@ -39,7 +39,7 @@
super();
}
- @SuppressWarnings("unchecked")
+ @SuppressWarnings({ "rawtypes"})
public OpenIDParameterList(Map parameterMap)
{
super(parameterMap);
Modified:
federation/trunk/picketlink-fed-api/src/main/java/org/picketlink/identity/federation/api/saml/v2/sig/SAML2Signature.java
===================================================================
---
federation/trunk/picketlink-fed-api/src/main/java/org/picketlink/identity/federation/api/saml/v2/sig/SAML2Signature.java 2010-11-09
14:37:52 UTC (rev 546)
+++
federation/trunk/picketlink-fed-api/src/main/java/org/picketlink/identity/federation/api/saml/v2/sig/SAML2Signature.java 2010-11-09
16:44:46 UTC (rev 547)
@@ -28,7 +28,6 @@
import javax.xml.bind.JAXBException;
import javax.xml.crypto.MarshalException;
-import javax.xml.crypto.dsig.CanonicalizationMethod;
import javax.xml.crypto.dsig.DigestMethod;
import javax.xml.crypto.dsig.SignatureMethod;
import javax.xml.crypto.dsig.XMLSignatureException;
Modified:
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/util/CoreConfigUtil.java
===================================================================
---
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/util/CoreConfigUtil.java 2010-11-09
14:37:52 UTC (rev 546)
+++
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/util/CoreConfigUtil.java 2010-11-09
16:44:46 UTC (rev 547)
@@ -207,8 +207,8 @@
* @return
* @throws GeneralSecurityException
* @throws Exception
- */
- @SuppressWarnings("unchecked")
+ */
+ @SuppressWarnings("rawtypes")
private static List decryptPasswords( List keyValueList ) throws
GeneralSecurityException
{
String pbeAlgo = PicketLinkFederationConstants.PBE_ALGORITHM;
Modified:
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/wstrust/WSTrustJAXBFactory.java
===================================================================
---
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/wstrust/WSTrustJAXBFactory.java 2010-11-09
14:37:52 UTC (rev 546)
+++
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/wstrust/WSTrustJAXBFactory.java 2010-11-09
16:44:46 UTC (rev 547)
@@ -163,8 +163,7 @@
* the XML source containing the security token response message.
* @return the constructed {@code BaseRequestSecurityTokenResponse} instance.
According to the WS-Trust
* specification, the returned object will be an instance of {@code
RequestSecurityTokenResponseCollection}.
- */
- @SuppressWarnings("unchecked")
+ */
public BaseRequestSecurityTokenResponse parseRequestSecurityTokenResponse(Source
response) throws WSTrustException
{
// if the response contains an issued token, we must preserve it from the JAXB
unmarshalling.
Modified:
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/wstrust/WSTrustUtil.java
===================================================================
---
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/wstrust/WSTrustUtil.java 2010-11-09
14:37:52 UTC (rev 546)
+++
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/wstrust/WSTrustUtil.java 2010-11-09
16:44:46 UTC (rev 547)
@@ -264,6 +264,7 @@
* @return a {@code byte[]} containing the secret; {@code null} if the specified
entropy doesn't contain
* any secret.
*/
+ @SuppressWarnings("rawtypes")
public static byte[] getBinarySecret(EntropyType entropy)
{
byte[] secret = null;
Modified:
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/wstrust/auth/AbstractSTSLoginModule.java
===================================================================
---
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/wstrust/auth/AbstractSTSLoginModule.java 2010-11-09
14:37:52 UTC (rev 546)
+++
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/wstrust/auth/AbstractSTSLoginModule.java 2010-11-09
16:44:46 UTC (rev 547)
@@ -353,7 +353,7 @@
}
}
- @SuppressWarnings("unchecked")
+ @SuppressWarnings({"rawtypes", "unchecked"})
private void setPasswordStackingCredentials(final Builder builder)
{
final Map sharedState = (Map) this.sharedState;
@@ -440,7 +440,7 @@
this.samlToken = samlToken;
}
- @SuppressWarnings("unchecked")
+ @SuppressWarnings({"unchecked", "rawtypes"})
protected void setSharedToken(final Object token)
{
if (sharedState == null)
Modified:
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/wstrust/handlers/STSSecurityHandler.java
===================================================================
---
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/wstrust/handlers/STSSecurityHandler.java 2010-11-09
14:37:52 UTC (rev 546)
+++
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/wstrust/handlers/STSSecurityHandler.java 2010-11-09
16:44:46 UTC (rev 547)
@@ -205,8 +205,8 @@
return true;
}
-
- @SuppressWarnings("unchecked")
+
+ @SuppressWarnings({"rawtypes"})
private Element extractSecurityToken(final SOAPMessageContext messageContext, final
QName securityQName, final QName tokenQName)
{
try
Modified:
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/wstrust/plugins/saml/SAMLUtil.java
===================================================================
---
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/wstrust/plugins/saml/SAMLUtil.java 2010-11-09
14:37:52 UTC (rev 546)
+++
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/wstrust/plugins/saml/SAMLUtil.java 2010-11-09
16:44:46 UTC (rev 547)
@@ -90,8 +90,7 @@
* the {@code Element} that contains the marshaled SAMLV2.0 assertion.
* @return a reference to the unmarshaled {@code AssertionType} instance.
* @throws JAXBException if an error occurs while unmarshalling the document.
- */
- @SuppressWarnings("unchecked")
+ */
public static AssertionType fromElement(Element assertionElement) throws
JAXBException
{
Unmarshaller unmarshaller =
JAXBUtil.getUnmarshaller("org.picketlink.identity.federation.saml.v2.assertion");
Modified:
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/wstrust/wrappers/RequestSecurityToken.java
===================================================================
---
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/wstrust/wrappers/RequestSecurityToken.java 2010-11-09
14:37:52 UTC (rev 546)
+++
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/wstrust/wrappers/RequestSecurityToken.java 2010-11-09
16:44:46 UTC (rev 547)
@@ -183,8 +183,7 @@
* </p>
*
* @param delegate the JAXB {@code RequestSecurityTokenType} that represents a
WS-Trust token request.
- */
- @SuppressWarnings("unchecked")
+ */
public RequestSecurityToken(RequestSecurityTokenType delegate)
{
this.delegate = delegate;
Modified:
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/wstrust/wrappers/RequestSecurityTokenResponse.java
===================================================================
---
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/wstrust/wrappers/RequestSecurityTokenResponse.java 2010-11-09
14:37:52 UTC (rev 546)
+++
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/wstrust/wrappers/RequestSecurityTokenResponse.java 2010-11-09
16:44:46 UTC (rev 547)
@@ -196,8 +196,7 @@
* </p>
*
* @param delegate the JAXB {@code RequestSecurityTokenResponseType} that represents a
WS-Trust response.
- */
- @SuppressWarnings("unchecked")
+ */
public RequestSecurityTokenResponse(RequestSecurityTokenResponseType delegate)
{
this.delegate = delegate;
Modified:
federation/trunk/picketlink-fed-core/src/test/java/org/picketlink/test/identity/federation/core/wstrust/PicketLinkSTSUnitTestCase.java
===================================================================
---
federation/trunk/picketlink-fed-core/src/test/java/org/picketlink/test/identity/federation/core/wstrust/PicketLinkSTSUnitTestCase.java 2010-11-09
14:37:52 UTC (rev 546)
+++
federation/trunk/picketlink-fed-core/src/test/java/org/picketlink/test/identity/federation/core/wstrust/PicketLinkSTSUnitTestCase.java 2010-11-09
16:44:46 UTC (rev 547)
@@ -418,8 +418,8 @@
* </p>
*
* @throws Exception if an error occurs while running the test.
- */
- @SuppressWarnings("unchecked")
+ */
+ @SuppressWarnings("rawtypes")
public void testInvokeSAML20WithSTSGeneratedSymmetricKey() throws Exception
{
// create a simple token request, asking for a SAMLv2.0 token.
@@ -469,8 +469,8 @@
* </p>
*
* @throws Exception if an error occurs while running the test.
- */
- @SuppressWarnings("unchecked")
+ */
+ @SuppressWarnings("rawtypes")
public void testInvokeSAML20WithCombinedSymmetricKey() throws Exception
{
// create a 64-bit random client secret.
Modified:
federation/trunk/picketlink-web/src/main/java/org/picketlink/identity/federation/web/core/IdentityServer.java
===================================================================
---
federation/trunk/picketlink-web/src/main/java/org/picketlink/identity/federation/web/core/IdentityServer.java 2010-11-09
14:37:52 UTC (rev 546)
+++
federation/trunk/picketlink-web/src/main/java/org/picketlink/identity/federation/web/core/IdentityServer.java 2010-11-09
16:44:46 UTC (rev 547)
@@ -147,9 +147,7 @@
transitSet = new HashSet<String>();
inTransitMap.put(sessionID, transitSet);
}
- if(transitSet != null)
- return transitSet.add(participant);
- return false;
+ return transitSet.add(participant);
}
/**
Modified:
federation/trunk/picketlink-web/src/main/java/org/picketlink/identity/federation/web/servlets/saml/MetadataServlet.java
===================================================================
---
federation/trunk/picketlink-web/src/main/java/org/picketlink/identity/federation/web/servlets/saml/MetadataServlet.java 2010-11-09
14:37:52 UTC (rev 546)
+++
federation/trunk/picketlink-web/src/main/java/org/picketlink/identity/federation/web/servlets/saml/MetadataServlet.java 2010-11-09
16:44:46 UTC (rev 547)
@@ -83,7 +83,7 @@
private String encryptingAlias = null;
private TrustKeyManager keyManager;
- @SuppressWarnings("unchecked")
+ @SuppressWarnings("rawtypes")
@Override
public void init(ServletConfig config) throws ServletException
{
Modified:
federation/trunk/picketlink-web/src/test/java/org/picketlink/test/identity/federation/web/mock/MockFilterConfig.java
===================================================================
---
federation/trunk/picketlink-web/src/test/java/org/picketlink/test/identity/federation/web/mock/MockFilterConfig.java 2010-11-09
14:37:52 UTC (rev 546)
+++
federation/trunk/picketlink-web/src/test/java/org/picketlink/test/identity/federation/web/mock/MockFilterConfig.java 2010-11-09
16:44:46 UTC (rev 547)
@@ -57,8 +57,8 @@
{
return params.get(arg0);
}
-
- @SuppressWarnings("unchecked")
+
+ @SuppressWarnings("rawtypes")
public Enumeration getInitParameterNames()
{
throw new RuntimeException("NYI");
Modified:
federation/trunk/picketlink-web/src/test/java/org/picketlink/test/identity/federation/web/mock/MockHttpServletRequest.java
===================================================================
---
federation/trunk/picketlink-web/src/test/java/org/picketlink/test/identity/federation/web/mock/MockHttpServletRequest.java 2010-11-09
14:37:52 UTC (rev 546)
+++
federation/trunk/picketlink-web/src/test/java/org/picketlink/test/identity/federation/web/mock/MockHttpServletRequest.java 2010-11-09
16:44:46 UTC (rev 547)
@@ -43,7 +43,7 @@
* @author Anil.Saldhana(a)redhat.com
* @since Oct 7, 2009
*/
-@SuppressWarnings("unchecked")
+@SuppressWarnings({ "unchecked", "rawtypes"})
public class MockHttpServletRequest implements HttpServletRequest
{
private HttpSession session = null;
@@ -58,11 +58,12 @@
this.session = session;
this.methodType = methodType;
}
-
+
public void addHeader(String key, String value)
{
headers.put(key, value);
}
+
public void addParameter(String key, String value)
{
parameters.put(key, value);
@@ -105,7 +106,6 @@
{
return iter.hasNext();
}
-
public Object nextElement()
{
Entry<String,String> entry = (Entry<String, String>)
iter.next();
@@ -379,9 +379,7 @@
}
public void removeAttribute(String arg0)
- {
-
-
+ {
}
public void setAttribute(String arg0, Object arg1)
Modified:
federation/trunk/picketlink-web/src/test/java/org/picketlink/test/identity/federation/web/mock/MockHttpSession.java
===================================================================
---
federation/trunk/picketlink-web/src/test/java/org/picketlink/test/identity/federation/web/mock/MockHttpSession.java 2010-11-09
14:37:52 UTC (rev 546)
+++
federation/trunk/picketlink-web/src/test/java/org/picketlink/test/identity/federation/web/mock/MockHttpSession.java 2010-11-09
16:44:46 UTC (rev 547)
@@ -37,7 +37,7 @@
* @author Anil.Saldhana(a)redhat.com
* @since Oct 7, 2009
*/
-@SuppressWarnings({"deprecation", "unchecked"})
+@SuppressWarnings({"deprecation", "unchecked", "rawtypes"})
public class MockHttpSession implements HttpSession
{
private boolean valid = true;
Modified:
federation/trunk/picketlink-web/src/test/java/org/picketlink/test/identity/federation/web/mock/MockServletConfig.java
===================================================================
---
federation/trunk/picketlink-web/src/test/java/org/picketlink/test/identity/federation/web/mock/MockServletConfig.java 2010-11-09
14:37:52 UTC (rev 546)
+++
federation/trunk/picketlink-web/src/test/java/org/picketlink/test/identity/federation/web/mock/MockServletConfig.java 2010-11-09
16:44:46 UTC (rev 547)
@@ -35,7 +35,7 @@
* @author Anil.Saldhana(a)redhat.com
* @since Oct 7, 2009
*/
-@SuppressWarnings("unchecked")
+@SuppressWarnings({"unchecked", "rawtypes"})
public class MockServletConfig implements ServletConfig
{
private ServletContext context;
Modified:
federation/trunk/picketlink-web/src/test/java/org/picketlink/test/identity/federation/web/mock/MockServletContext.java
===================================================================
---
federation/trunk/picketlink-web/src/test/java/org/picketlink/test/identity/federation/web/mock/MockServletContext.java 2010-11-09
14:37:52 UTC (rev 546)
+++
federation/trunk/picketlink-web/src/test/java/org/picketlink/test/identity/federation/web/mock/MockServletContext.java 2010-11-09
16:44:46 UTC (rev 547)
@@ -44,7 +44,7 @@
* @author Anil.Saldhana(a)redhat.com
* @since Oct 7, 2009
*/
-@SuppressWarnings("unchecked")
+@SuppressWarnings({ "unchecked", "rawtypes"})
public class MockServletContext implements ServletContext
{
private Map params = new HashMap();