|
From: Steve F. <sm...@us...> - 2002-02-22 15:47:15
|
Update of /cvsroot/mockobjects/mockobjects-java/src/j2ee/com/mockobjects/servlet
In directory usw-pr-cvs1:/tmp/cvs-serv31670
Modified Files:
MockHttpServletRequest.java
Log Message:
removed some tautologous comments
Index: MockHttpServletRequest.java
===================================================================
RCS file: /cvsroot/mockobjects/mockobjects-java/src/j2ee/com/mockobjects/servlet/MockHttpServletRequest.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- MockHttpServletRequest.java 4 Feb 2002 10:42:53 -0000 1.2
+++ MockHttpServletRequest.java 22 Feb 2002 15:47:12 -0000 1.3
@@ -43,127 +43,75 @@
setupAddParameter(paramName, value);
}
- /**
- * getAttribute method comment.
- */
public Object getAttribute(String arg1) {
return null;
}
- /**
- * getAttributeNames method comment.
- */
public java.util.Enumeration getAttributeNames() {
return null;
}
- /**
- * getAuthType method comment.
- */
public String getAuthType() {
return null;
}
- /**
- * getCharacterEncoding method comment.
- */
public String getCharacterEncoding() {
return null;
}
- /**
- * getContentLength method comment.
- */
public int getContentLength() {
return 0;
}
- /**
- * getContentType method comment.
- */
public String getContentType() {
return null;
}
- /**
- * getContentType method comment.
- */
+
public void setContentType(String contentType) {
this.contentType = contentType;
}
- /**
- * getContextPath method comment.
- */
+
public java.lang.String getContextPath() {
return null;
}
- /**
- * getCookies method comment.
- */
public javax.servlet.http.Cookie[] getCookies() {
return null;
}
- /**
- * getDateHeader method comment.
- */
public long getDateHeader(String arg1) {
return 0;
}
- /**
- * getHeader method comment.
- */
public String getHeader(String arg1) {
return null;
}
- /**
- * getHeaderNames method comment.
- */
public java.util.Enumeration getHeaderNames() {
return null;
}
- /**
- * getHeaders method comment.
- */
public java.util.Enumeration getHeaders(java.lang.String arg1) {
return null;
}
- /**
- * getInputStream method comment.
- */
public javax.servlet.ServletInputStream getInputStream()
throws java.io.IOException {
return null;
}
- /**
- * getIntHeader method comment.
- */
public int getIntHeader(String arg1) {
return 0;
}
- /**
- * getLocale method comment.
- */
public java.util.Locale getLocale() {
return null;
}
- /**
- * getLocales method comment.
- */
public java.util.Enumeration getLocales() {
return null;
}
- /**
- * getMethod method comment.
- */
public String getMethod() {
return null;
}
@@ -188,37 +136,22 @@
return myPathInfo;
}
- /**
- * getPathTranslated method comment.
- */
public String getPathTranslated() {
return null;
}
- /**
- * getProtocol method comment.
- */
public String getProtocol() {
return null;
}
- /**
- * getQueryString method comment.
- */
public String getQueryString() {
return null;
}
- /**
- * getReader method comment.
- */
public java.io.BufferedReader getReader() throws java.io.IOException {
return null;
}
- /**
- * getRealPath method comment.
- */
public String getRealPath(String arg1) {
return null;
}
@@ -227,80 +160,47 @@
this.remoteAddress = remoteAddress;
}
- /**
- * getRemoteAddr method comment.
- */
public String getRemoteAddr() {
return remoteAddress;
}
- /**
- * getRemoteHost method comment.
- */
public String getRemoteHost() {
return null;
}
- /**
- * getRemoteUser method comment.
- */
public String getRemoteUser() {
return null;
}
- /**
- * getRequestDispatcher method comment.
- */
public javax.servlet.RequestDispatcher getRequestDispatcher(
java.lang.String arg1) {
return null;
}
- /**
- * getRequestedSessionId method comment.
- */
public String getRequestedSessionId() {
return null;
}
- /**
- * getRequestURI method comment.
- */
public String getRequestURI() {
return null;
}
- /**
- * getScheme method comment.
- */
public String getScheme() {
return null;
}
- /**
- * getServerName method comment.
- */
public String getServerName() {
return null;
}
- /**
- * getServerPort method comment.
- */
public int getServerPort() {
return 0;
}
- /**
- * getServletPath method comment.
- */
public String getServletPath() {
return null;
}
- /**
- * getSession method comment.
- */
public HttpSession getSession() {
return httpSession;
}
@@ -309,9 +209,6 @@
this.httpSession = httpSession;
}
- /**
- * getSession method comment.
- */
public HttpSession getSession(boolean arg1) {
return null;
}
@@ -320,58 +217,34 @@
this.userPrincipal = userPrincipal;
}
- /**
- * getUserPrincipal method comment.
- */
public java.security.Principal getUserPrincipal() {
return userPrincipal;
}
- /**
- * isRequestedSessionIdFromCookie method comment.
- */
public boolean isRequestedSessionIdFromCookie() {
return false;
}
- /**
- * isRequestedSessionIdFromUrl method comment.
- */
public boolean isRequestedSessionIdFromUrl() {
return false;
}
- /**
- * isRequestedSessionIdFromURL method comment.
- */
public boolean isRequestedSessionIdFromURL() {
return false;
}
- /**
- * isRequestedSessionIdValid method comment.
- */
public boolean isRequestedSessionIdValid() {
return false;
}
- /**
- * isSecure method comment.
- */
public boolean isSecure() {
return false;
}
- /**
- * isUserInRole method comment.
- */
public boolean isUserInRole(java.lang.String arg1) {
return false;
}
- /**
- * removeAttribute method comment.
- */
public void removeAttribute(java.lang.String arg1) {
}
@@ -381,9 +254,6 @@
new MapEntry(attributeName, attributeValue));
}
- /**
- * setAttribute method comment.
- */
public void setAttribute(String attributeName, Object attributeValue) {
mySetAttributes.addActual(
new MapEntry(attributeName, attributeValue));
@@ -420,4 +290,3 @@
return null;
}
}
-
|