changeset 83:53422f2791fe

Fix accidental regression with Control.
author shade
date Wed, 05 Jun 2013 17:18:24 +0400
parents a28a02c330d1
children ec2dc3520cd1
files jmh-core/src/main/java/org/openjdk/jmh/processor/internal/StateObjectHandler.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/jmh-core/src/main/java/org/openjdk/jmh/processor/internal/StateObjectHandler.java	Wed Jun 05 16:21:19 2013 +0400
+++ b/jmh-core/src/main/java/org/openjdk/jmh/processor/internal/StateObjectHandler.java	Wed Jun 05 17:18:24 2013 +0400
@@ -498,7 +498,7 @@
     public Collection<StateObject> getControls() {
         Collection<StateObject> s = new ArrayList<StateObject>();
         for (StateObject so : cons(args.values())) {
-            if (so.type.equals(Control.class.getName())) {
+            if (so.userType.equals(Control.class.getName())) {
                 s.add(so);
             }
         }