jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1225614 - /jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/Header.java
Date Thu, 29 Dec 2011 18:27:34 GMT
Author: pmouawad
Date: Thu Dec 29 18:27:34 2011
New Revision: 1225614

URL: http://svn.apache.org/viewvc?rev=1225614&view=rev
Log:
Removed useless synchronized

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

Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/Header.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/Header.java?rev=1225614&r1=1225613&r2=1225614&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/Header.java (original)
+++ jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/Header.java Thu
Dec 29 18:27:34 2011
@@ -63,7 +63,7 @@ public class Header extends AbstractTest
      * Get the name for this object.
      */
     @Override
-    public synchronized String getName() {
+    public String getName() {
         return getPropertyAsString(HNAME);
     }
 
@@ -71,21 +71,21 @@ public class Header extends AbstractTest
      * Set the name for this object.
      */
     @Override
-    public synchronized void setName(String name) {
+    public void setName(String name) {
         this.setProperty(HNAME, name);
     }
 
     /**
      * Get the value for this object.
      */
-    public synchronized String getValue() {
+    public String getValue() {
         return getPropertyAsString(VALUE);
     }
 
     /**
      * Set the value for this object.
      */
-    public synchronized void setValue(String value) {
+    public void setValue(String value) {
         this.setProperty(VALUE, value);
     }
 



Mime
View raw message