< prev index next >
jdk/src/java.base/share/classes/sun/text/Normalizer.java
Print this page
*** 1,7 ****
/*
! * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
--- 1,7 ----
/*
! * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
*** 24,34 ****
*/
package sun.text;
import sun.text.normalizer.NormalizerBase;
! import sun.text.normalizer.NormalizerImpl;
/**
* This Normalizer is for Unicode 3.2 support for IDNA only.
* Developers should not use this class.
*
--- 24,34 ----
*/
package sun.text;
import sun.text.normalizer.NormalizerBase;
! import sun.text.normalizer.UCharacter;
/**
* This Normalizer is for Unicode 3.2 support for IDNA only.
* Developers should not use this class.
*
*** 91,98 ****
* Returns the combining class of the given character
* @param ch character to retrieve combining class of
* @return combining class of the given character
*/
public static final int getCombiningClass(int ch) {
! return NormalizerImpl.getCombiningClass(ch);
}
}
--- 91,98 ----
* Returns the combining class of the given character
* @param ch character to retrieve combining class of
* @return combining class of the given character
*/
public static final int getCombiningClass(int ch) {
! return UCharacter.getCombiningClass(ch);
}
}
< prev index next >