[jboss-identity-commits] JBoss Identity SVN: r263 - identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/identity/federation/bindings/servlets.

jboss-identity-commits at lists.jboss.org jboss-identity-commits at lists.jboss.org
Thu Jan 29 14:11:59 EST 2009


Author: anil.saldhana at jboss.com
Date: 2009-01-29 14:11:59 -0500 (Thu, 29 Jan 2009)
New Revision: 263

Modified:
   identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/identity/federation/bindings/servlets/TestServletConfig.java
   identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/identity/federation/bindings/servlets/TestServletContext.java
   identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/identity/federation/bindings/servlets/TestServletRequest.java
Log:
cosmetic

Modified: identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/identity/federation/bindings/servlets/TestServletConfig.java
===================================================================
--- identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/identity/federation/bindings/servlets/TestServletConfig.java	2009-01-29 19:06:41 UTC (rev 262)
+++ identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/identity/federation/bindings/servlets/TestServletConfig.java	2009-01-29 19:11:59 UTC (rev 263)
@@ -26,6 +26,8 @@
 import javax.servlet.ServletConfig;
 import javax.servlet.ServletContext;
 
+
+ at SuppressWarnings("unchecked")
 /**
  * @author Anil.Saldhana at redhat.com
  * @since Jan 28, 2009

Modified: identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/identity/federation/bindings/servlets/TestServletContext.java
===================================================================
--- identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/identity/federation/bindings/servlets/TestServletContext.java	2009-01-29 19:06:41 UTC (rev 262)
+++ identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/identity/federation/bindings/servlets/TestServletContext.java	2009-01-29 19:11:59 UTC (rev 263)
@@ -33,6 +33,8 @@
 import javax.servlet.ServletContext;
 import javax.servlet.ServletException;
 
+
+ at SuppressWarnings("unchecked")
 /**
  * @author Anil.Saldhana at redhat.com
  * @since Jan 28, 2009
@@ -47,26 +49,22 @@
    }
    
    public Object getAttribute(String name)
-   {
-      
+   { 
       return null;
    }
 
    public Enumeration getAttributeNames()
-   {
-      
+   {   
       return null;
    }
 
    public ServletContext getContext(String uripath)
-   {
-      
+   {   
       return null;
    }
 
    public String getContextPath()
-   {
-      
+   {   
       return null;
    }
 
@@ -77,122 +75,96 @@
 
    public Enumeration getInitParameterNames()
    {
-      
       return null;
    }
 
    public int getMajorVersion()
    {
-      
       return 0;
    }
 
    public String getMimeType(String file)
    {
-      
       return null;
    }
 
    public int getMinorVersion()
    {
-      
       return 0;
    }
 
    public RequestDispatcher getNamedDispatcher(String name)
    {
-      
       return null;
    }
 
    public String getRealPath(String path)
    {
-      
       return null;
    }
 
    public RequestDispatcher getRequestDispatcher(String path)
    {
-      
       return null;
    }
 
    public URL getResource(String path) throws MalformedURLException
    {
-      
       return null;
    }
 
    public InputStream getResourceAsStream(String path)
    {
-      
       return null;
    }
 
    public Set getResourcePaths(String path)
    {
-      
       return null;
    }
 
    public String getServerInfo()
    {
-      
       return null;
    }
 
    public Servlet getServlet(String name) throws ServletException
    {
-      
       return null;
    }
 
    public String getServletContextName()
    {
-      
       return null;
    }
-
+ 
    public Enumeration getServletNames()
    {
-      
       return null;
    }
-
+ 
    public Enumeration getServlets()
    {
-      
       return null;
    }
 
    public void log(String msg)
    {
-      
-
    }
 
    public void log(Exception exception, String msg)
    {
-      
-
    }
 
    public void log(String message, Throwable throwable)
    {
-      
-
    }
 
    public void removeAttribute(String name)
    {
-      
-
    }
 
    public void setAttribute(String name, Object object)
    {
-      
-
    }
-
-}
+}
\ No newline at end of file

Modified: identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/identity/federation/bindings/servlets/TestServletRequest.java
===================================================================
--- identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/identity/federation/bindings/servlets/TestServletRequest.java	2009-01-29 19:06:41 UTC (rev 262)
+++ identity-federation/trunk/identity-bindings/src/test/java/org/jboss/test/identity/federation/bindings/servlets/TestServletRequest.java	2009-01-29 19:11:59 UTC (rev 263)
@@ -37,6 +37,8 @@
 import javax.servlet.http.HttpServletRequest;
 import javax.servlet.http.HttpSession;
 
+
+ at SuppressWarnings("unchecked")
 /**
  * @author Anil.Saldhana at redhat.com
  * @since Jan 28, 2009
@@ -84,146 +86,122 @@
    }
 
    public Enumeration getHeaders(String name)
-   {
-      
+   { 
       return null;
    }
 
    public int getIntHeader(String name)
-   {
-      
+   { 
       return 0;
    }
 
    public String getMethod()
-   {
-      
+   { 
       return null;
    }
 
    public String getPathInfo()
-   {
-      
+   { 
       return null;
    }
 
    public String getPathTranslated()
-   {
-      
+   { 
       return null;
    }
 
    public String getQueryString()
-   {
-      
+   { 
       return null;
    }
 
    public String getRemoteUser()
    {
-      
       return null;
    }
 
    public String getRequestURI()
    {
-      
       return null;
    }
 
    public StringBuffer getRequestURL()
    {
-      
       return null;
    }
 
    public String getRequestedSessionId()
    {
-      
       return null;
    }
 
    public String getServletPath()
    {
-      
       return null;
    }
 
    public HttpSession getSession()
    {
-      
       return null;
    }
 
    public HttpSession getSession(boolean create)
    {
-      
       return null;
    }
 
    public Principal getUserPrincipal()
    {
-      
       return null;
    }
 
    public boolean isRequestedSessionIdFromCookie()
    {
-      
       return false;
    }
 
    public boolean isRequestedSessionIdFromURL()
    {
-      
       return false;
    }
 
    public boolean isRequestedSessionIdFromUrl()
    {
-      
       return false;
    }
 
    public boolean isRequestedSessionIdValid()
    {
-      
       return false;
    }
 
    public boolean isUserInRole(String role)
    {
-      
       return false;
    }
 
    public Object getAttribute(String name)
    {
-      
       return null;
    }
 
    public Enumeration getAttributeNames()
    {
-      
       return null;
    }
 
    public String getCharacterEncoding()
    {
-      
       return null;
    }
 
    public int getContentLength()
    {
-      
       return 0;
    }
 
    public String getContentType()
    {
-      
       return null;
    }
 
@@ -241,137 +219,113 @@
 
    public String getLocalAddr()
    {
-      
       return null;
    }
 
    public String getLocalName()
    {
-      
       return null;
    }
 
    public int getLocalPort()
    {
-      
       return 0;
    }
 
    public Locale getLocale()
    {
-      
       return null;
    }
 
    public Enumeration getLocales()
    {
-      
       return null;
    }
 
    public String getParameter(String name)
    {
-      
       return null;
    }
 
    public Map getParameterMap()
    {
-      
       return null;
    }
 
    public Enumeration getParameterNames()
    {
-      
       return null;
    }
 
    public String[] getParameterValues(String name)
    {
-      
       return null;
    }
 
    public String getProtocol()
    {
-      
       return null;
    }
 
    public BufferedReader getReader() throws IOException
    {
-      
       return null;
    }
 
    public String getRealPath(String path)
    {
-      
       return null;
    }
 
    public String getRemoteAddr()
    {
-      
       return null;
    }
 
    public String getRemoteHost()
    {
-      
       return null;
    }
 
    public int getRemotePort()
    {
-      
       return 0;
    }
 
    public RequestDispatcher getRequestDispatcher(String path)
    {
-      
       return null;
    }
 
    public String getScheme()
    {
-      
       return null;
    }
 
    public String getServerName()
    {
-      
       return null;
    }
 
    public int getServerPort()
    {
-      
       return 0;
    }
 
    public boolean isSecure()
    {
-      
       return false;
    }
 
    public void removeAttribute(String name)
    {
-      
-      
    }
 
    public void setAttribute(String name, Object o)
    {
-      
-      
    }
 
    public void setCharacterEncoding(String env) throws UnsupportedEncodingException
    { 
    }  
-}
+}
\ No newline at end of file




More information about the jboss-identity-commits mailing list