changeset 1081:2053f4bab01b

Fix the compilation error on JDK 6.
author shade
date Mon, 12 Jan 2015 16:31:07 +0300
parents 70019828fe4c
children 868c073c1c49
files jmh-core/src/test/java/org/openjdk/jmh/results/format/ResultFormatTest.java
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/jmh-core/src/test/java/org/openjdk/jmh/results/format/ResultFormatTest.java	Mon Jan 12 15:22:58 2015 +0300
+++ b/jmh-core/src/test/java/org/openjdk/jmh/results/format/ResultFormatTest.java	Mon Jan 12 16:31:07 2015 +0300
@@ -151,7 +151,7 @@
 
     @Test
     public void jsonTest_RU() throws IOException {
-        test(ResultFormatType.JSON, Locale.forLanguageTag("RU"), "");
+        test(ResultFormatType.JSON, new Locale("RU"), "");
     }
 
     /*
@@ -170,7 +170,7 @@
 
     @Test
     public void csvTest_RU() throws IOException {
-        test(ResultFormatType.CSV, Locale.forLanguageTag("RU"), ".ru");
+        test(ResultFormatType.CSV, new Locale("RU"), ".ru");
     }
 
     @Test
@@ -185,7 +185,7 @@
 
     @Test
     public void scsvTest_RU() throws IOException {
-        test(ResultFormatType.SCSV, Locale.forLanguageTag("RU"), ".ru");
+        test(ResultFormatType.SCSV, new Locale("RU"), ".ru");
     }
 
     /*
@@ -204,7 +204,7 @@
 
     @Test
     public void latexTest_RU() throws IOException {
-        test(ResultFormatType.LATEX, Locale.forLanguageTag("RU"), ".ru");
+        test(ResultFormatType.LATEX, new Locale("RU"), ".ru");
     }
 
     /*
@@ -223,7 +223,7 @@
 
     @Test
     public void textTest_RU() throws IOException {
-        test(ResultFormatType.TEXT, Locale.forLanguageTag("RU"), ".ru");
+        test(ResultFormatType.TEXT, new Locale("RU"), ".ru");
     }
 
 }