mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 17:01:16 +00:00
ICU-13629 Adding comments in replacementIndex getters.
X-SVN-Rev: 41364
This commit is contained in:
parent
5c969e791f
commit
03f6b1cf92
2 changed files with 8 additions and 2 deletions
|
@ -378,7 +378,10 @@ public:
|
|||
* not counting unchanged spans
|
||||
* @stable ICU 59
|
||||
*/
|
||||
int32_t replacementIndex() const { return replIndex; }
|
||||
int32_t replacementIndex() const {
|
||||
// TODO: Throw an exception if we aren't in a change edit?
|
||||
return replIndex;
|
||||
}
|
||||
|
||||
/**
|
||||
* The start index of the current span in the destination string; the span has length
|
||||
|
|
|
@ -805,7 +805,10 @@ public final class Edits {
|
|||
* spans
|
||||
* @stable ICU 59
|
||||
*/
|
||||
public int replacementIndex() { return replIndex; }
|
||||
public int replacementIndex() {
|
||||
// TODO: Throw an exception if we aren't in a change edit?
|
||||
return replIndex;
|
||||
}
|
||||
|
||||
/**
|
||||
* The start index of the current span in the destination string; the span has length
|
||||
|
|
Loading…
Add table
Reference in a new issue