Simon Steiner 6 лет назад
Родитель
Сommit
30570ab6c9
1 измененных файлов: 3 добавлений и 3 удалений
  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 Просмотреть файл

@@ -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 > 0xFFFF, 0 otherwise
* @return 1 if codePoint > 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

Загрузка…
Отмена
Сохранить