]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Fix javadocs Temp_SurrogatePairs Temp_SurrogatePairs
authorSimon Steiner <ssteiner@apache.org>
Fri, 9 Mar 2018 14:03:14 +0000 (14:03 +0000)
committerSimon Steiner <ssteiner@apache.org>
Fri, 9 Mar 2018 14:03:14 +0000 (14:03 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_SurrogatePairs@1826350 13f79535-47bb-0310-9956-ffa450edef68

fop-core/src/main/java/org/apache/fop/util/CharUtilities.java

index 10a66f36b2b6a077647759c891a17d6927937887..4be495209b1403c2dfa78be6d2c9b6e83b1ac610 100644 (file)
@@ -374,8 +374,8 @@ public class CharUtilities {
      * 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.
      *
-     * @param codePoint 1 if codePoint > 0xFFFF, 0 otherwise
-     * @return 1 if codePoint > 0xFFFF, 0 otherwise
+     * @param codePoint 1 if codePoint &gt; 0xFFFF, 0 otherwise
+     * @return 1 if codePoint &gt; 0xFFFF, 0 otherwise
      */
     public static int incrementIfNonBMP(int codePoint) {
         return isBmpCodePoint(codePoint) ? 0 : 1;
@@ -443,7 +443,7 @@ public class CharUtilities {
     /**
      * 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 beginIndex lower range
      * @param endIndex upper range