ICU-12945 Removed redundant IBM copyright embedded in API comments. Also updated API doc footer copyright statement from IBM's to Unicode's.

X-SVN-Rev: 39696
This commit is contained in:
Yoshito Umaoka 2017-02-22 20:39:40 +00:00
parent 5f57938910
commit 5817a8c964
6 changed files with 19 additions and 18 deletions

View file

@ -57,6 +57,7 @@
<property name="icu4j.api.doc.window.title" value="ICU4J ${api.doc.version}"/>
<property name="icu4j.api.doc.header" value="ICU4J ${api.doc.version}"/>
<property name="icu4j.api.doc.jdk.link" value="http://docs.oracle.com/javase/8/docs/api/"/>
<property name="icu4j.api.doc.copyright.footer" value="&lt;font size=-1&gt;Copyright &#x00A9; ${current.year} Unicode, Inc. and others.&lt;/font&gt;"/>
<!-- directories -->
<property name="release.dir" value="release"/>
@ -956,7 +957,7 @@
encoding="${java.src.encoding}"
docencoding="UTF-8"
charset="UTF-8"
bottom="&lt;font size=-1&gt;Copyright (c) ${current.year} IBM Corporation and others.&lt;/font&gt;"
bottom="${icu4j.api.doc.copyright.footer}"
additionalparam="${doclint.option} -breakiterator -use -tagletpath ${icu4j.build-tools.jar}${path.separator}${jcite.libs} -taglet com.ibm.icu.dev.tool.docs.ICUTaglet -taglet ch.arrenbrecht.jcite.JCiteTaglet -J-Djcitesourcepath=${jcite.addl.src} -J-Dfile.encoding=UTF-8"
link="${icu4j.api.doc.jdk.link}"
source="1.5"
@ -991,7 +992,7 @@
encoding="${java.src.encoding}"
docencoding="UTF-8"
charset="UTF-8"
bottom="&lt;font size=-1&gt;Copyright (c) ${current.year} IBM Corporation and others.&lt;/font&gt;"
bottom="${icu4j.api.doc.copyright.footer}"
additionalparam="${doclint.option} -breakiterator -use -tagletpath ${icu4j.build-tools.jar} -taglet com.ibm.icu.dev.tool.docs.ICUTaglet"
link="${icu4j.api.doc.jdk.link}"
source="1.5"

View file

@ -48,8 +48,6 @@ package com.ibm.icu.text;
* </li>
* </ul>
* If this is not the behavior, the subclass should document any differences.
*
* <p>Copyright &copy; IBM Corporation 1999. All rights reserved.
*
* @author Alan Liu
* @stable ICU 2.0
@ -59,7 +57,7 @@ public interface Replaceable {
* Returns the number of 16-bit code units in the text.
* @return number of 16-bit code units in text
* @stable ICU 2.0
*/
*/
int length();
/**
@ -163,7 +161,7 @@ public interface Replaceable {
* <pre> char[] text = new char[limit - start];
* getChars(start, limit, text, 0);
* replace(dest, dest, text, 0, limit - start);</pre>
*
*
* @param start the beginning index, inclusive; <code>0 &lt;= start &lt;=
* limit</code>.
* @param limit the ending index, exclusive; <code>start &lt;= limit &lt;=
@ -175,7 +173,7 @@ public interface Replaceable {
* @stable ICU 2.0
*/
void copy(int start, int limit, int dest);
/**R
* Returns true if this object contains metadata. If a
* Replaceable object has metadata, calls to the Replaceable API

View file

@ -16,8 +16,6 @@ package com.ibm.icu.text;
* intended for general use. Most clients will need to implement
* {@link Replaceable} in their text representation class.
*
* <p>Copyright &copy; IBM Corporation 1999. All rights reserved.
*
* @see Replaceable
* @author Alan Liu
* @stable ICU 2.0
@ -60,6 +58,7 @@ public class ReplaceableString implements Replaceable {
* @return string contents of this object
* @stable ICU 2.0
*/
@Override
public String toString() {
return buf.toString();
}
@ -76,7 +75,8 @@ public class ReplaceableString implements Replaceable {
* Return the number of characters contained in this object.
* <code>Replaceable</code> API.
* @stable ICU 2.0
*/
*/
@Override
public int length() {
return buf.length();
}
@ -88,6 +88,7 @@ public class ReplaceableString implements Replaceable {
* <code>length()</code> - 1
* @stable ICU 2.0
*/
@Override
public char charAt(int offset) {
return buf.charAt(offset);
}
@ -103,6 +104,7 @@ public class ReplaceableString implements Replaceable {
* @return 32-bit code point of text at given offset
* @stable ICU 2.0
*/
@Override
public int char32At(int offset) {
return UTF16.charAt(buf, offset);
}
@ -125,6 +127,7 @@ public class ReplaceableString implements Replaceable {
* @param dstStart the start offset in the destination array.
* @stable ICU 2.0
*/
@Override
public void getChars(int srcStart, int srcLimit, char dst[], int dstStart) {
if (srcStart != srcLimit) {
buf.getChars(srcStart, srcLimit, dst, dstStart);
@ -142,6 +145,7 @@ public class ReplaceableString implements Replaceable {
* <code>limit - 1</code>
* @stable ICU 2.0
*/
@Override
public void replace(int start, int limit, String text) {
buf.replace(start, limit, text);
}
@ -159,6 +163,7 @@ public class ReplaceableString implements Replaceable {
* @param charsLen the number of characters of <code>chars</code>.
* @stable ICU 2.0
*/
@Override
public void replace(int start, int limit, char[] chars,
int charsStart, int charsLen) {
buf.delete(start, limit);
@ -169,7 +174,7 @@ public class ReplaceableString implements Replaceable {
* Copy a substring of this object, retaining attribute (out-of-band)
* information. This method is used to duplicate or reorder substrings.
* The destination index must not overlap the source range.
*
*
* @param start the beginning index, inclusive; <code>0 &lt;= start &lt;=
* limit</code>.
* @param limit the ending index, exclusive; <code>start &lt;= limit &lt;=
@ -180,6 +185,7 @@ public class ReplaceableString implements Replaceable {
* dest &gt;= limit</code>.
* @stable ICU 2.0
*/
@Override
public void copy(int start, int limit, int dest) {
if (start == limit && start >= 0 && start <= buf.length()) {
return;
@ -188,11 +194,12 @@ public class ReplaceableString implements Replaceable {
getChars(start, limit, text, 0);
replace(dest, dest, text, 0, limit - start);
}
/**
* Implements Replaceable
* @stable ICU 2.0
*/
@Override
public boolean hasMetaData() {
return false;
}

View file

@ -267,8 +267,6 @@ import java.util.Map;
* always matches anything it matches. In other words, the first
* rule <em>masks</em> the second rule.
*
* <p>Copyright (c) IBM Corporation 1999-2000. All rights reserved.
*
* @author Alan Liu
* @internal
* @deprecated This API is ICU internal only.

View file

@ -221,9 +221,6 @@ import com.ibm.icu.util.UResourceBundle;
* <code>transliterate()</code> method taking a <code>String</code> and <code>StringBuffer</code> if the performance of
* these methods can be improved over the performance obtained by the default implementations in this class.
*
* <p>
* Copyright &copy; IBM Corporation 1999. All rights reserved.
*
* @author Alan Liu
* @stable ICU 2.0
*/

View file

@ -9,7 +9,7 @@
icu4j.spec.version = 59
icu4j.impl.version = 59.0.1
icu4j.data.version = 59
current.year = 2016
current.year = 2017
default.exec.env = JavaSE-1.6
corp = IBM Corporation