changeset 536:2d655c494e41

ParametersBag bugfix
author Devel 2
date Mon, 11 Sep 2017 11:13:10 +0200
parents aef8a6e0958e
children a3cf7c67258e
files stress-tester/src/main/java/com/passus/st/ParametersBag.java
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/stress-tester/src/main/java/com/passus/st/ParametersBag.java	Mon Sep 11 11:12:49 2017 +0200
+++ b/stress-tester/src/main/java/com/passus/st/ParametersBag.java	Mon Sep 11 11:13:10 2017 +0200
@@ -25,7 +25,9 @@
     }
 
     public void clear() {
-        params.clear();
+        if (params != null) {
+            params.clear();
+        }
     }
 
     private String createKey(Object owner, String name) {