You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by pm...@apache.org on 2014/10/13 22:51:26 UTC

svn commit: r1631545 - in /jmeter/trunk: src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPAbstractImpl.java xdocs/changes.xml

Author: pmouawad
Date: Mon Oct 13 20:51:26 2014
New Revision: 1631545

URL: http://svn.apache.org/r1631545
Log:
Bug 57083 - simplified the CachedResourceMode enum
Bugzilla Id: 57083

Modified:
    jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPAbstractImpl.java
    jmeter/trunk/xdocs/changes.xml

Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPAbstractImpl.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPAbstractImpl.java?rev=1631545&r1=1631544&r2=1631545&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPAbstractImpl.java (original)
+++ jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPAbstractImpl.java Mon Oct 13 20:51:26 2014
@@ -47,15 +47,9 @@ import org.apache.jmeter.util.JMeterUtil
  */
 public abstract class HTTPAbstractImpl implements Interruptible, HTTPConstantsInterface {
     private static enum CachedResourceMode {
-        RETURN_200_CACHE("RETURN_200_CACHE"),
-        RETURN_NO_SAMPLE("RETURN_NO_SAMPLE"),
-        RETURN_CUSTOM_STATUS("RETURN_CUSTOM_STATUS");
-        
-        private String name;
-
-        CachedResourceMode(String name) {
-            this.name = name;
-        }
+        RETURN_200_CACHE(),
+        RETURN_NO_SAMPLE(),
+        RETURN_CUSTOM_STATUS();
     }
 
     /**

Modified: jmeter/trunk/xdocs/changes.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/changes.xml?rev=1631545&r1=1631544&r2=1631545&view=diff
==============================================================================
--- jmeter/trunk/xdocs/changes.xml (original)
+++ jmeter/trunk/xdocs/changes.xml Mon Oct 13 20:51:26 2014
@@ -330,6 +330,7 @@ for details on configuring this componen
 <li><bugzilla>56921</bugzilla> - Templates : Improve Recording template to ignore embedded resources case and URL parameters. Contributed by Ubik Load Pack (support at ubikloadpack.com)</li>
 <li><bugzilla>42248</bugzilla> - Undo-redo support on Test Plan tree modification. Developed by Andrey Pohilko (apc4 at ya.ru) and contributed by BlazeMeter Ltd. Additional contribution by Ubik Load Pack (support at ubikloadpack.com)</li>
 <li><bugzilla>56920</bugzilla> - LogViewer : Make it receive all log events even when it is closed. Contributed by Ubik Load Pack (support at ubikloadpack.com)</li>
+<li><bugzilla>57083</bugzilla> - simplified the CachedResourceMode enum. Contributed by Graham Russel (graham at ham1.co.uk)</li>
 </ul>
 <ch_section>Non-functional changes</ch_section>
 <ul>
@@ -359,6 +360,7 @@ for details on configuring this componen
 <li>Andrey Pohilko (apc4 at ya.ru)</li>
 <li>Bradford Hovinen (hovinen at gmail.com)</li>
 <li><a href="http://blazemeter.com">BlazeMeter Ltd.</a></li>
+<li>Graham Russell (graham at ham1.co.uk)</li>
 </ul>
 
 <br/>