vmassol 01/11/16 11:11:12
Modified: src/framework/share/org/apache/cactus/client
HttpClientHelper.java
Log:
removed explicit logging of entries and exits of methods (using aspectj now)
Revision Changes Path
1.15 +1 -21
jakarta-cactus/src/framework/share/org/apache/cactus/client/HttpClientHelper.java
Index: HttpClientHelper.java
===================================================================
RCS file:
/home/cvs/jakarta-cactus/src/framework/share/org/apache/cactus/client/HttpClientHelper.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- HttpClientHelper.java 2001/10/20 13:22:11 1.14
+++ HttpClientHelper.java 2001/11/16 19:11:12 1.15
@@ -70,7 +70,7 @@
*
* @author <a href="mailto:[EMAIL PROTECTED]">Vincent Massol</a>
*
- * @version $Id: HttpClientHelper.java,v 1.14 2001/10/20 13:22:11 vmassol Exp $
+ * @version $Id: HttpClientHelper.java,v 1.15 2001/11/16 19:11:12 vmassol Exp $
*/
public class HttpClientHelper
{
@@ -99,11 +99,7 @@
*/
public HttpClientHelper(String theURL)
{
- logger.entry("HttpClientHelper([" + theURL + "])");
-
this.url = theURL;
-
- logger.exit("HttpClientHelper");
}
/**
@@ -117,8 +113,6 @@
public HttpURLConnection connect(WebRequest theRequest)
throws Throwable
{
- logger.entry("connect(" + theRequest + ")");
-
URL url = new URL(this.url);
// Add the parameters that need to be passed as part of the URL
@@ -163,7 +157,6 @@
// Open the connection and get the result
connection.connect();
- logger.exit("connect");
return connection;
}
@@ -341,8 +334,6 @@
private void addCookies(WebRequest theRequest,
URLConnection theConnection)
{
- logger.entry("addCookies(...)");
-
// If no Cookies, then exit
Vector cookies = theRequest.getCookies();
if (!cookies.isEmpty()) {
@@ -376,8 +367,6 @@
theConnection.setRequestProperty("Cookie",
cookieHeader.getValue());
}
-
- logger.exit("addCookies");
}
/**
@@ -393,8 +382,6 @@
public static String getDomain(WebRequest theRequest,
URLConnection theConnection)
{
- logger.entry("getDomain(...)");
-
String domain;
ServletURL url = theRequest.getURL();
@@ -406,7 +393,6 @@
logger.debug("Cookie validation domain = [" + domain + "]");
- logger.exit("getDomain");
return domain;
}
@@ -423,8 +409,6 @@
public static int getPort(WebRequest theRequest,
URLConnection theConnection)
{
- logger.entry("getPort(...)");
-
int port;
ServletURL url = theRequest.getURL();
@@ -436,7 +420,6 @@
logger.debug("Cookie validation port = [" + port + "]");
- logger.exit("getPort");
return port;
}
@@ -457,8 +440,6 @@
*/
public static String getPath(WebRequest theRequest, URLConnection theConnection)
{
- logger.entry("getPath(...)");
-
String path;
ServletURL url = theRequest.getURL();
@@ -470,7 +451,6 @@
logger.debug("Cookie validation pah = [" + path + "]");
- logger.exit("getPath");
return path;
}
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>