Author: fschumacher
Date: Fri Mar 18 09:25:58 2016
New Revision: 1735560
URL: http://svn.apache.org/viewvc?rev=1735560&view=rev
Log:
Followup to r17734228. No need for temporary variable. Return CacheManager
directly.
Bugzilla Id: 52073
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=1735560&r1=1735559&r2=1735560&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
Fri Mar 18 09:25:58 2016
@@ -479,7 +479,7 @@ public class CacheManager extends Config
}
};
}
-
+
/**
* create a cache manager that share the underlying cache of the current
one
* it allows to use the same cache in different threads which does not
inherit from each other
@@ -487,8 +487,7 @@ public class CacheManager extends Config
* @since 3.0
*/
public CacheManager createCacheManagerProxy() {
- CacheManager cm = new CacheManager(getCache(), this.useExpires);
- return cm;
+ return new CacheManager(getCache(), this.useExpires);
}
@Override