mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-10 07:39:16 +00:00
ICU-5445 set the header back
X-SVN-Rev: 22441
This commit is contained in:
parent
2bcce680c9
commit
044ccb368f
6 changed files with 15 additions and 19 deletions
|
@ -1,4 +1,4 @@
|
|||
//##header JAVASE6
|
||||
//##header J2SE15
|
||||
//#if defined(FOUNDATION10) || defined(J2SE13)
|
||||
//#else
|
||||
/*
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
//##header JAVASE6
|
||||
//##header J2SE15
|
||||
/*
|
||||
*******************************************************************************
|
||||
* Copyright (C) 2001-2007, International Business Machines Corporation and *
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
//##header JAVASE6
|
||||
//##header J2SE15
|
||||
/*
|
||||
*******************************************************************************
|
||||
* Copyright (C) 2001-2007, International Business Machines Corporation and *
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//##header J2SE15
|
||||
/*
|
||||
**********************************************************************
|
||||
* Copyright (c) 2002-2007, International Business Machines *
|
||||
|
@ -6,9 +7,6 @@
|
|||
*/
|
||||
package com.ibm.icu.dev.test.perf;
|
||||
|
||||
import java.lang.reflect.InvocationTargetException;
|
||||
import java.lang.reflect.Method;
|
||||
|
||||
import com.ibm.icu.text.Normalizer;
|
||||
|
||||
public class NormalizerPerformanceTest extends PerfTest {
|
||||
|
@ -16,8 +14,6 @@ public class NormalizerPerformanceTest extends PerfTest {
|
|||
String[] NFDFileLines;
|
||||
String[] NFCFileLines;
|
||||
String[] fileLines;
|
||||
Method normalizerMethod;
|
||||
Object[] normalizerArgs;
|
||||
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
|
@ -697,14 +693,14 @@ public class NormalizerPerformanceTest extends PerfTest {
|
|||
*/
|
||||
|
||||
void normalizerTest(String line, boolean compose) {
|
||||
//#if defined(FOUNDATION10) || defined(J2SE13) || defined(J2SE14) || defined(J2SE15)
|
||||
//## sun.text.Normalizer.normalize(line, compose
|
||||
//## ? sun.text.Normalizer.COMPOSE
|
||||
//## : sun.text.Normalizer.DECOMP, 0);
|
||||
//#else
|
||||
//## java.text.Normalizer.normalize(line, compose
|
||||
//## ? java.text.Normalizer.Form.NFC
|
||||
//## : java.text.Normalizer.Form.NFD);
|
||||
//#endif
|
||||
//#if defined(FOUNDATION10) || defined(J2SE13) || defined(J2SE14) || defined(J2SE15)
|
||||
sun.text.Normalizer.normalize(line, compose
|
||||
? sun.text.Normalizer.COMPOSE
|
||||
: sun.text.Normalizer.DECOMP, 0);
|
||||
//#else
|
||||
//## java.text.Normalizer.normalize(line, compose
|
||||
//## ? java.text.Normalizer.Form.NFC
|
||||
//## : java.text.Normalizer.Form.NFD);
|
||||
//#endif
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
//##header JAVASE6
|
||||
//##header J2SE15
|
||||
/*
|
||||
*******************************************************************************
|
||||
* Copyright (C) 1996-2007, International Business Machines Corporation and *
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
//##header JAVASE6
|
||||
//##header J2SE15
|
||||
/*
|
||||
*******************************************************************************
|
||||
* Copyright (C) 2005-2007 International Business Machines Corporation and *
|
||||
|
|
Loading…
Add table
Reference in a new issue