< prev index next >

src/java.base/share/classes/jdk/internal/icu/text/StringPrep.java

Print this page
rev 57619 : imported patch 8174270

@@ -1,6 +1,7 @@
 /*
+ * Copyright (c) 2005, 2020, 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

@@ -37,27 +38,25 @@
 //          - change 'Normalizer.getUnicodeVersion()' to 'NormalizerImpl.getUnicodeVersion()'
 //          - remove all @deprecated tag to make compiler happy
 //      2007-08-14 Martin Buchholz
 //          - remove redundant casts
 //
-package sun.net.idn;
+package jdk.internal.icu.text;
 
 import java.io.BufferedInputStream;
 import java.io.ByteArrayInputStream;
 import java.io.IOException;
 import java.io.InputStream;
 import java.text.ParseException;
 
 import sun.text.Normalizer;
-import sun.text.normalizer.CharTrie;
-import sun.text.normalizer.Trie;
-import sun.text.normalizer.VersionInfo;
-import sun.text.normalizer.UCharacter;
-import sun.text.normalizer.UCharacterIterator;
-import sun.text.normalizer.UTF16;
-import sun.net.idn.UCharacterDirection;
-import sun.net.idn.StringPrepDataReader;
+import jdk.internal.icu.impl.CharTrie;
+import jdk.internal.icu.impl.StringPrepDataReader;
+import jdk.internal.icu.impl.Trie;
+import jdk.internal.icu.lang.UCharacter;
+import jdk.internal.icu.lang.UCharacterDirection;
+import jdk.internal.icu.util.VersionInfo;
 
 /**
  * StringPrep API implements the StingPrep framework as described by
  * <a href="http://www.ietf.org/rfc/rfc3454.txt">RFC 3454</a>.
  * StringPrep prepares Unicode strings for use in network protocols.
< prev index next >