You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by se...@apache.org on 2006/03/31 21:27:21 UTC

svn commit: r390482 - /jakarta/jmeter/branches/rel-2-1/src/core/org/apache/jmeter/samplers/SampleSaveConfiguration.java

Author: sebb
Date: Fri Mar 31 11:27:18 2006
New Revision: 390482

URL: http://svn.apache.org/viewcvs?rev=390482&view=rev
Log:
Fix naming convention

Modified:
    jakarta/jmeter/branches/rel-2-1/src/core/org/apache/jmeter/samplers/SampleSaveConfiguration.java

Modified: jakarta/jmeter/branches/rel-2-1/src/core/org/apache/jmeter/samplers/SampleSaveConfiguration.java
URL: http://svn.apache.org/viewcvs/jakarta/jmeter/branches/rel-2-1/src/core/org/apache/jmeter/samplers/SampleSaveConfiguration.java?rev=390482&r1=390481&r2=390482&view=diff
==============================================================================
--- jakarta/jmeter/branches/rel-2-1/src/core/org/apache/jmeter/samplers/SampleSaveConfiguration.java (original)
+++ jakarta/jmeter/branches/rel-2-1/src/core/org/apache/jmeter/samplers/SampleSaveConfiguration.java Fri Mar 31 11:27:18 2006
@@ -31,6 +31,7 @@
  * Holds details of which sample attributes to save.
  * 
  * The pop-up dialogue for this is created by the class SavePropertyDialog, which assumes:
+ * For each field XXX
  * - methods have the signature "boolean saveXXX()" 
  * - a corresponding "void setXXX(boolean)" method
  * 
@@ -183,7 +184,7 @@
 
 	private boolean saveAssertionResultsFailureMessage = _saveAssertionResultsFailureMessage;
 
-	private boolean saveUrl = _saveUrl, saveBytes = _saveBytes;
+	private boolean url = _url, bytes = _bytes;
 	
 	private int assertionsResultsToSave = _assertionsResultsToSave;
 
@@ -220,9 +221,9 @@
 
 	private static final boolean _printMilliseconds;
 
-	private static final boolean _saveBytes;
+	private static final boolean _bytes;
 
-	private static final boolean _saveUrl;
+	private static final boolean _url;
 	
 	private static final SimpleDateFormat _formatter;
 
@@ -268,9 +269,9 @@
 
 		_threadName = TRUE.equalsIgnoreCase(props.getProperty(SAVE_THREAD_NAME_PROP, TRUE));
 
-		_saveBytes = TRUE.equalsIgnoreCase(props.getProperty(SAVE_BYTES_PROP, FALSE));
+		_bytes = TRUE.equalsIgnoreCase(props.getProperty(SAVE_BYTES_PROP, FALSE));
 		
-		_saveUrl = TRUE.equalsIgnoreCase(props.getProperty(SAVE_BYTES_PROP, FALSE));
+		_url = TRUE.equalsIgnoreCase(props.getProperty(SAVE_URL_PROP, FALSE));
 
 		_time = TRUE.equalsIgnoreCase(props.getProperty(SAVE_TIME_PROP, TRUE));
 
@@ -513,19 +514,19 @@
 	}
 
 	public boolean saveUrl() {
-		return saveUrl;
+		return url;
 	}
 
 	public void setUrl(boolean save) {
-		this.saveUrl = save;
+		this.url = save;
 	}
 
 	public boolean saveBytes() {
-		return saveBytes;
+		return bytes;
 	}
 
 	public void setBytes(boolean save) {
-		this.saveBytes = save;
+		this.bytes = save;
 	}
 
 	public boolean saveAssertionResultsFailureMessage() {



---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org