This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-whiteboard.git

commit 253651565658bf022bea8affdf2a4596dbe90e16
Author: Robert Munteanu <[email protected]>
AuthorDate: Wed Jun 12 18:12:29 2019 +0200

    Correct usage examples in README
---
 url-connection-agent/README.md | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/url-connection-agent/README.md b/url-connection-agent/README.md
index 916c0ca..1efcc94 100644
--- a/url-connection-agent/README.md
+++ b/url-connection-agent/README.md
@@ -16,7 +16,7 @@ It currently supports setting timeouts for HTTP connections 
done using:
 
 Build the project with `mvn clean package` and then run a simple connection 
test with 
 
-    java 
-javaagent:target/url-connection-agent-0.0.1-SNAPSHOT-jar-with-dependencies.jar=<connect-timeout>,<read-timeout>
 -cp target/test-classes:target/it-dependencies/* 
org.apache.sling.uca.impl.Main <url> <client-type>
+    java 
-javaagent:target/url-connection-agent-0.0.1-SNAPSHOT-jar-with-dependencies.jar=<connect-timeout>,<read-timeout>
 -cp target/test-classes:target/it-dependencies/* 
org.apache.sling.uca.impl.HttpClientLauncher <url> <client-type>
     
  The parameters are as follows:
  
@@ -29,14 +29,14 @@ Build the project with `mvn clean package` and then run a 
simple connection test
  For a test that always fails, set one of the timeouts to 1. Both executions 
listed below will typically fail:
  
  ```
-java 
-javaagent:target/url-connection-agent-0.0.1-SNAPSHOT-jar-with-dependencies.jar=1,1000
 -cp target/test-classes:target/it-dependencies/* 
org.apache.sling.uca.impl.Main https://sling.apache.org JavaNet
-java 
-javaagent:target/url-connection-agent-0.0.1-SNAPSHOT-jar-with-dependencies.jar=1000,1
 -cp target/test-classes:target/it-dependencies/* 
org.apache.sling.uca.impl.Main https://sling.apache.org JavaNet
+java 
-javaagent:target/url-connection-agent-0.0.1-SNAPSHOT-jar-with-dependencies.jar=1,1000
 -cp target/test-classes:target/it-dependencies/* 
org.apache.sling.uca.impl.HttpClientLauncher https://sling.apache.org JavaNet
+java 
-javaagent:target/url-connection-agent-0.0.1-SNAPSHOT-jar-with-dependencies.jar=1000,1
 -cp target/test-classes:target/it-dependencies/* 
org.apache.sling.uca.impl.HttpClientLauncher https://sling.apache.org JavaNet
  ```
  
 In contrast, the execution below should succeed:
 
 ```
-java 
-javaagent:target/url-connection-agent-0.0.1-SNAPSHOT-jar-with-dependencies.jar=1000,1000
 -cp target/test-classes:target/it-dependencies/* 
org.apache.sling.uca.impl.Main https://sling.apache.org JavaNet
+java 
-javaagent:target/url-connection-agent-0.0.1-SNAPSHOT-jar-with-dependencies.jar=1000,1000
 -cp target/test-classes:target/it-dependencies/* 
org.apache.sling.uca.impl.HttpClientLauncher https://sling.apache.org JavaNet
 ```
 
 To use this in your own project you should 

Reply via email to