cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From reinh...@apache.org
Subject svn commit: r642113 - in /cocoon/trunk/tools/cocoon-it-fw: ./ src/ src/main/java/org/apache/cocoon/tools/it/HttpClientResponse.java
Date Fri, 28 Mar 2008 07:28:06 GMT
Author: reinhard
Date: Fri Mar 28 00:28:04 2008
New Revision: 642113

URL: http://svn.apache.org/viewvc?rev=642113&view=rev
Log:
. svn:ignore
. formatting

Modified:
    cocoon/trunk/tools/cocoon-it-fw/   (props changed)
    cocoon/trunk/tools/cocoon-it-fw/src/   (props changed)
    cocoon/trunk/tools/cocoon-it-fw/src/main/java/org/apache/cocoon/tools/it/HttpClientResponse.java

Propchange: cocoon/trunk/tools/cocoon-it-fw/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Fri Mar 28 00:28:04 2008
@@ -1,5 +1,7 @@
-.settings
-target
-.classpath
-.project
-*.iml
+.settings
+target
+.classpath
+.project
+*.iml
+.externalToolBuilders
+maven-eclipse.xml

Propchange: cocoon/trunk/tools/cocoon-it-fw/src/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Fri Mar 28 00:28:04 2008
@@ -0,0 +1 @@
+site

Modified: cocoon/trunk/tools/cocoon-it-fw/src/main/java/org/apache/cocoon/tools/it/HttpClientResponse.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/tools/cocoon-it-fw/src/main/java/org/apache/cocoon/tools/it/HttpClientResponse.java?rev=642113&r1=642112&r2=642113&view=diff
==============================================================================
--- cocoon/trunk/tools/cocoon-it-fw/src/main/java/org/apache/cocoon/tools/it/HttpClientResponse.java
(original)
+++ cocoon/trunk/tools/cocoon-it-fw/src/main/java/org/apache/cocoon/tools/it/HttpClientResponse.java
Fri Mar 28 00:28:04 2008
@@ -27,8 +27,8 @@
 import java.net.URL;
 import java.util.List;
 
-
 class HttpClientResponse implements WebResponse {
+
     private URL url;
 
     private HttpMethodBase method;
@@ -43,8 +43,7 @@
         this.method = method;
         HttpClient client = new HttpClient();
         statusCode = client.executeMethod(method);
-        long t1 = System.currentTimeMillis();
-        this.loadTime = t1 - t0;
+        this.loadTime = System.currentTimeMillis() - t0;
     }
 
     public int getStatusCode() {



Mime
View raw message