summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Miller <marco.mmiller@gmail.com>2020-09-24 14:49:02 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2020-09-24 14:49:02 +0000
commite988af7127f7a839dc4d55f339e06a3216e03e89 (patch)
treeb0181b94eddd89a008fdf1e676058e5116d03395
parent88e5d9ee8547b48cad2cab3c99f0d3cc55ced4e6 (diff)
parent40673fe66c47200ad01b8ad5c55142d9be1aba4c (diff)
Merge "GerritSimulation: Remove unnecessary use of 'this'" into stable-3.0
-rw-r--r--e2e-tests/src/test/scala/com/google/gerrit/scenarios/GerritSimulation.scala6
1 files changed, 3 insertions, 3 deletions
diff --git a/e2e-tests/src/test/scala/com/google/gerrit/scenarios/GerritSimulation.scala b/e2e-tests/src/test/scala/com/google/gerrit/scenarios/GerritSimulation.scala
index 5961dd3d4d..6118460476 100644
--- a/e2e-tests/src/test/scala/com/google/gerrit/scenarios/GerritSimulation.scala
+++ b/e2e-tests/src/test/scala/com/google/gerrit/scenarios/GerritSimulation.scala
@@ -23,13 +23,13 @@ import io.gatling.http.request.builder.HttpRequestBuilder
class GerritSimulation extends Simulation {
implicit val conf: GatlingGitConfiguration = GatlingGitConfiguration()
- private val pack = this.getClass.getPackage.getName
+ private val pack = getClass.getPackage.getName
private val path = pack.replaceAllLiterally(".", "/")
- protected val name: String = this.getClass.getSimpleName
+ protected val name: String = getClass.getSimpleName
private val pathName = s"data/$path/$name"
protected val resource = s"$pathName.json"
protected val body = s"$pathName-body.json"
- protected val unique: String = name + "-" + this.hashCode()
+ protected val unique: String = name + "-" + hashCode()
protected val single = 1
val replicationDelay: Int = replaceProperty("replication_delay", 15).toInt