Browse Source

Fix javadocs

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_SurrogatePairs@1826350 13f79535-47bb-0310-9956-ffa450edef68
Temp_SurrogatePairs
Simon Steiner 6 years ago
parent
commit
30570ab6c9
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      fop-core/src/main/java/org/apache/fop/util/CharUtilities.java

+ 3
- 3
fop-core/src/main/java/org/apache/fop/util/CharUtilities.java View File

* Returns 1 if codePoint not in the BMP. This function is particularly useful in for * Returns 1 if codePoint not in the BMP. This function is particularly useful in for
* loops over strings where, in presence of surrogate pairs, you need to skip one loop. * loops over strings where, in presence of surrogate pairs, you need to skip one loop.
* *
* @param codePoint 1 if codePoint > 0xFFFF, 0 otherwise
* @return 1 if codePoint > 0xFFFF, 0 otherwise
* @param codePoint 1 if codePoint > 0xFFFF, 0 otherwise
* @return 1 if codePoint > 0xFFFF, 0 otherwise
*/ */
public static int incrementIfNonBMP(int codePoint) { public static int incrementIfNonBMP(int codePoint) {
return isBmpCodePoint(codePoint) ? 0 : 1; return isBmpCodePoint(codePoint) ? 0 : 1;
/** /**
* Creates an iterator to iter a sub-CharSequence codepoints. * Creates an iterator to iter a sub-CharSequence codepoints.
* *
* @see <a haref="http://bugs.java.com/bugdatabase/view_bug.do?bug_id=5003547">Bug JDK-5003547</a>
* @see <a href="http://bugs.java.com/bugdatabase/view_bug.do?bug_id=5003547">Bug JDK-5003547</a>
* @param s {@link CharSequence} to iter * @param s {@link CharSequence} to iter
* @param beginIndex lower range * @param beginIndex lower range
* @param endIndex upper range * @param endIndex upper range

Loading…
Cancel
Save