You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by fs...@apache.org on 2014/11/13 20:09:15 UTC

svn commit: r1639461 - /jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/CacheManager.java

Author: fschumacher
Date: Thu Nov 13 19:09:14 2014
New Revision: 1639461

URL: http://svn.apache.org/r1639461
Log:
Bug 57193: A few javadoc fixes
 * Remove self-closing br-tags by replacing them with a
   unordered list 
 * Add links to URL in javadaocs 
 * Add a return description in javadocs
Bugzilla Id: 57193

Modified:
    jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/CacheManager.java

Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/CacheManager.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/CacheManager.java?rev=1639461&r1=1639460&r2=1639461&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/CacheManager.java (original)
+++ jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/CacheManager.java Thu Nov 13 19:09:14 2014
@@ -277,9 +277,11 @@ public class CacheManager extends Config
     }
 
     /**
-     * Check the cache, and if there is a match, set the headers:<br/>
-     * If-Modified-Since<br/>
-     * If-None-Match<br/>
+     * Check the cache, and if there is a match, set the headers:
+     * <ul>
+     * <li>If-Modified-Since</li>
+     * <li>If-None-Match</li>
+     * </ul>
      * Commons HttpClient version
      * @param url URL to look up in cache
      * @param method where to set the headers
@@ -302,11 +304,13 @@ public class CacheManager extends Config
     }
 
     /**
-     * Check the cache, and if there is a match, set the headers:<br/>
-     * If-Modified-Since<br/>
-     * If-None-Match<br/>
+     * Check the cache, and if there is a match, set the headers:
+     * <ul>
+     * <li>If-Modified-Since</li>
+     * <li>If-None-Match</li>
+     * </ul>
      * Apache HttpClient version.
-     * @param url URL to look up in cache
+     * @param url {@link URL} to look up in cache
      * @param request where to set the headers
      */
     public void setHeaders(URL url, HttpRequestBase request) {
@@ -327,10 +331,12 @@ public class CacheManager extends Config
     }
 
     /**
-     * Check the cache, and if there is a match, set the headers:<br/>
-     * If-Modified-Since<br/>
-     * If-None-Match<br/>
-     * @param url URL to look up in cache
+     * Check the cache, and if there is a match, set the headers:
+     * <ul>
+     * <li>If-Modified-Since</li>
+     * <li>If-None-Match</li>
+     * </ul>
+     * @param url {@link URL} to look up in cache
      * @param conn where to set the headers
      */
     public void setHeaders(HttpURLConnection conn, URL url) {
@@ -351,8 +357,9 @@ public class CacheManager extends Config
     }
 
     /**
-     * Check the cache, if the entry has an expires header and the entry has not expired, return true<br/>
-     * @param url URL to look up in cache
+     * Check the cache, if the entry has an expires header and the entry has not expired, return true<br>
+     * @param url {@link URL} to look up in cache
+     * @return <code>true</code> if entry has an expires header and the entry has not expired, else <code>false</code>
      */
     public boolean inCache(URL url) {
         CacheEntry entry = getCache().get(url.toString());