changeset 24:d65dce40f0c6

harness: make description reader O(1) of test count
author shade
date Tue, 09 Jul 2013 15:36:23 +0400
parents ea0c97f7dfc9
children 2dec45c6dfc0
files harness/src/main/java/org/openjdk/jcstress/infra/grading/DescriptionReader.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/harness/src/main/java/org/openjdk/jcstress/infra/grading/DescriptionReader.java	Tue Jul 09 14:42:27 2013 +0400
+++ b/harness/src/main/java/org/openjdk/jcstress/infra/grading/DescriptionReader.java	Tue Jul 09 15:36:23 2013 +0400
@@ -57,7 +57,7 @@
     private final Unmarshaller testSuiteUnmarshaller;
 
     public DescriptionReader() {
-        testDescriptions = new TreeMap<String, Test>();
+        testDescriptions = new HashMap<String, Test>();
         try {
             SchemaFactory sf = SchemaFactory.newInstance(javax.xml.XMLConstants.W3C_XML_SCHEMA_NS_URI);