src/java.base/share/classes/java/text/CollationKey.java
changeset 58242 94bb65cb37d3
parent 47216 71c04702a3d5
child 58288 48e480e56aad
equal deleted inserted replaced
58241:33de7752835c 58242:94bb65cb37d3
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
   134 
   134 
   135   /**
   135   /**
   136    * CollationKey constructor.
   136    * CollationKey constructor.
   137    *
   137    *
   138    * @param source the source string
   138    * @param source the source string
   139    * @exception NullPointerException if {@code source} is null
   139    * @throws    NullPointerException if {@code source} is null
   140    * @since 1.6
   140    * @since 1.6
   141    */
   141    */
   142     protected CollationKey(String source) {
   142     protected CollationKey(String source) {
   143         if (source==null){
   143         if (source==null){
   144             throw new NullPointerException();
   144             throw new NullPointerException();